Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 43.92 kB / 371.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2565, allocations: 52.19 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01341/0.27, allocations: 10.39 MB / 434.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006303/0.2763, allocations: 3.225 MB / 437.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.2776, allocations: 71.5 kB / 437.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.2794, allocations: 0.7377 MB / 438.3 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.2821, allocations: 0.9322 MB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.283, allocations: 411.4 kB / 439.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004047/0.287, allocations: 3.397 MB / 443 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.2891, allocations: 1.422 MB / 444.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.2911, allocations: 1.55 MB / 446 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.294, allocations: 1.907 MB / 447.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006299/0.2946, allocations: 396 kB / 448.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000924/0.2955, allocations: 491.8 kB / 448.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.2966, allocations: 1.126 MB / 449.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002/0.2986, allocations: 1.77 MB / 451.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00575/0.3044, allocations: 5.228 MB / 456.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3044, allocations: 0 / 456.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3044, allocations: 0 / 456.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001238/0.3045, allocations: 3.938 kB / 456.9 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.007827/0.3123, allocations: 3.531 MB / 460.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3124, allocations: 12.03 kB / 460.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009004/0.3133, allocations: 366.8 kB / 460.8 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/0.3171, allocations: 1.866 MB / 462.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.3173, allocations: 205.1 kB / 462.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004116/0.3177, allocations: 256 kB / 463.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006002/0.3237, allocations: 3.535 MB / 466.7 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.518e-05/0.3238, allocations: 15.88 kB / 466.7 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.324, allocations: 104 kB / 466.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.3241, allocations: 108.9 kB / 466.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005394/0.3295, allocations: 3.095 MB / 470 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.3471, allocations: 10.61 MB / 480.6 MB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.3503, allocations: 2.053 MB / 482.7 MB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/0.3526, allocations: 1.302 MB / 484 MB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.3528, allocations: 57.22 kB / 484 MB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001839/0.3547, allocations: 1.148 MB / 485.2 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 3.096e-06/0.3547, allocations: 0 / 485.2 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of matching and sorting (n=172): time 0.02046/0.3752, allocations: 8.453 MB / 493.6 MB, free: 8.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.3753, allocations: 176.2 kB / 493.8 MB, free: 8.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/0.3782, allocations: 1.84 MB / 495.6 MB, free: 6.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000159/0.3784, allocations: 57.7 kB / 495.7 MB, free: 6.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.3797, allocations: 1.218 MB / 496.9 MB, free: 4.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005899/0.3802, allocations: 0.5849 MB / 497.5 MB, free: 4.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005826/0.3808, allocations: 359.5 kB / 497.8 MB, free: 3.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.381, allocations: 301.1 kB / 498.1 MB, free: 3.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.3827, allocations: 0.9993 MB / 499.1 MB, free: 2.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.3848, allocations: 1.438 MB / 0.4888 GB, free: 1.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/0.3886, allocations: 2.45 MB / 0.4912 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3886, allocations: 0 / 0.4912 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006177/0.3948, allocations: 3.323 MB / 0.4945 GB, free: 11.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.3948, allocations: 8 kB / 0.4945 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.3949, allocations: 12.53 kB / 0.4945 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/0.3971, allocations: 0.8998 MB / 0.4954 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.3984, allocations: 335.5 kB / 0.4957 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/0.4158, allocations: 10.12 MB / 0.5056 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/0.4184, allocations: 127.9 kB / 0.5057 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/0.4187, allocations: 71.98 kB / 0.5058 GB, free: 15.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002599/0.4213, allocations: 0.9292 MB / 0.5067 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007203/0.4221, allocations: 214.6 kB / 0.5069 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009127/0.4312, allocations: 3.08 MB / 0.5099 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/0.4312, allocations: 16 kB / 0.5099 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/0.4312, allocations: 8 kB / 0.5099 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.924e-05/0.4313, allocations: 7.969 kB / 0.5099 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/0.4501, allocations: 6.185 MB / 0.516 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/0.4501, allocations: 4.172 kB / 0.516 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.4516, allocations: 211.7 kB / 0.5162 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003422/0.455, allocations: 0.9332 MB / 0.5171 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/0.4553, allocations: 43.92 kB / 0.5171 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02285/0.4781, allocations: 11.62 MB / 0.5285 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.4781, allocations: 7.938 kB / 0.5285 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.4906, allocations: 4.496 MB / 0.5329 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/0.4927, allocations: 438.4 kB / 0.5333 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006193/0.4933, allocations: 39.98 kB / 0.5333 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/0.4952, allocations: 99.89 kB / 0.5334 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007528/0.496, allocations: 200.9 kB / 0.5336 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/0.4961, allocations: 43.98 kB / 0.5336 GB, free: 1.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003258/0.4994, allocations: 1.258 MB / 0.5349 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4994, allocations: 3.938 kB / 0.5349 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003873/0.5033, allocations: 0.6367 MB / 0.5355 GB, free: 80 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2134/0.7167, allocations: 201.9 kB / 0.5357 GB, free: 107.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005504/0.7222, allocations: 3.008 MB / 0.5386 GB, free: 107.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.7222, allocations: 1.375 kB / 0.5386 GB, free: 107.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003022/0.7252, allocations: 2.054 MB / 0.5406 GB, free: 106.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.7278, allocations: 0.5738 MB / 0.5412 GB, free: 106.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008667/0.7364, allocations: 5.833 MB / 0.5469 GB, free: 103.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.7379, allocations: 2.152 MB / 0.549 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/0.7386, allocations: 135.1 kB / 0.5491 GB, free: 102.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.7386, allocations: 0 / 0.5491 GB, free: 102.7 MB / 446.1 MB Notification: Performance of Templates: time 0.07686/0.8154, allocations: 103.2 MB / 0.6499 GB, free: 1.785 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.257857652846724]