Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.001833/0.001833, allocations: 106 kB / 21.18 MB, free: 0.707 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.002396/0.002396, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 57.31 kB / 347.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3722, allocations: 49.15 MB / 396.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01317/0.3854, allocations: 8.954 MB / 405.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007311/0.3927, allocations: 2.935 MB / 408.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.3949, allocations: 51.56 kB / 408.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002276/0.3971, allocations: 0.643 MB / 409.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003364/0.4005, allocations: 0.7788 MB / 410.2 MB, free: 200 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009883/0.4015, allocations: 332.7 kB / 410.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005009/0.4065, allocations: 2.391 MB / 412.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.4086, allocations: 0.9906 MB / 413.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.4114, allocations: 1.087 MB / 415 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003841/0.4153, allocations: 1.383 MB / 416.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007983/0.4161, allocations: 279.5 kB / 416.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.4175, allocations: 375.8 kB / 417 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.4186, allocations: 0.8033 MB / 417.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003488/0.4221, allocations: 1.265 MB / 419.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007261/0.4293, allocations: 3.695 MB / 422.8 MB, free: 8.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.4294, allocations: 0 / 422.8 MB, free: 8.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4294, allocations: 1.156 kB / 422.8 MB, free: 8.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.4295, allocations: 0 / 422.8 MB, free: 8.32 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.008374/0.4379, allocations: 2.559 MB / 425.3 MB, free: 6.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.4379, allocations: 13.33 kB / 425.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.4392, allocations: 268.4 kB / 425.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/0.4425, allocations: 1.256 MB / 426.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.4427, allocations: 136 kB / 427 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003519/0.443, allocations: 192.1 kB / 427.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005101/0.4481, allocations: 2.402 MB / 429.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.613e-05/0.4482, allocations: 11.89 kB / 429.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.4484, allocations: 72 kB / 429.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.4485, allocations: 83.5 kB / 429.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00433/0.4528, allocations: 2.016 MB / 431.7 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/0.4678, allocations: 7.26 MB / 439 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.4698, allocations: 0.987 MB / 440 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.4716, allocations: 0.869 MB / 440.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.4718, allocations: 40.97 kB / 440.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.4719, allocations: 43.56 kB / 440.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.155e-06/0.4719, allocations: 0 / 440.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.01085/0.4827, allocations: 4.738 MB / 445.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.4828, allocations: 64.41 kB / 445.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.4853, allocations: 1.369 MB / 447.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.4854, allocations: 45.7 kB / 447.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008484/0.4862, allocations: 0.9149 MB / 448.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.4866, allocations: 364.8 kB / 448.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.487, allocations: 222.9 kB / 448.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.4872, allocations: 345.9 kB / 449 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.4884, allocations: 0.6311 MB / 449.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.4897, allocations: 0.9259 MB / 450.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/0.4923, allocations: 1.653 MB / 452.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4923, allocations: 0 / 452.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004914/0.4972, allocations: 2.379 MB / 454.6 MB, free: 8.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.4972, allocations: 12 kB / 454.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.4973, allocations: 8 kB / 454.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.4993, allocations: 0.712 MB / 455.3 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009926/0.5003, allocations: 239.6 kB / 455.5 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.513, allocations: 8.542 MB / 464.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.5146, allocations: 75.91 kB / 464.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.5148, allocations: 52.12 kB / 464.2 MB, free: 14.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001548/0.5163, allocations: 0.6263 MB / 464.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/0.5168, allocations: 159 kB / 465 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.5206, allocations: 1.889 MB / 466.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.5206, allocations: 8 kB / 466.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.5206, allocations: 4 kB / 466.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.5207, allocations: 7.922 kB / 466.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008246/0.5289, allocations: 3.972 MB / 470.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.5289, allocations: 0 / 470.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008641/0.5298, allocations: 188 kB / 471.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.5311, allocations: 466.9 kB / 471.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/0.5312, allocations: 23.98 kB / 471.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007834/0.539, allocations: 6.376 MB / 477.9 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.539, allocations: 3.938 kB / 477.9 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/0.5444, allocations: 2.776 MB / 480.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.5457, allocations: 286.9 kB / 481 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.5459, allocations: 24 kB / 481 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/0.5467, allocations: 71.92 kB / 481.1 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.5471, allocations: 88.7 kB / 481.1 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/0.5471, allocations: 31.98 kB / 481.2 MB, free: 13.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00183/0.549, allocations: 0.9581 MB / 482.1 MB, free: 12.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.549, allocations: 4 kB / 482.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001951/0.5509, allocations: 431.9 kB / 482.6 MB, free: 12.1 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,100.0%), (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.0004578/0.5514, allocations: 179 kB / 482.7 MB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003855/0.5552, allocations: 1.945 MB / 484.7 MB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5552, allocations: 1.875 kB / 484.7 MB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002232/0.5575, allocations: 1.229 MB / 485.9 MB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.5595, allocations: 384.6 kB / 486.3 MB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/0.5674, allocations: 4.086 MB / 490.4 MB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.5691, allocations: 1.689 MB / 492.1 MB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00118/0.5703, allocations: 308 kB / 492.4 MB, free: 2.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.5706, allocations: 99.42 kB / 492.5 MB, free: 2.023 MB / 398.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5706, allocations: 0 / 492.5 MB, free: 2.023 MB / 398.1 MB Notification: Performance of Templates: time 0.05377/0.6244, allocations: 25.48 MB / 0.5058 GB, free: 8.496 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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: 6.176831452175975]