Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.529/1.529, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 51.92 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2904, allocations: 49.16 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.009509/0.2999, allocations: 8.36 MB / 405.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006317/0.3062, allocations: 3.219 MB / 408.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.3079, allocations: 53.88 kB / 408.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.3105, allocations: 0.719 MB / 409.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003298/0.3138, allocations: 0.8552 MB / 410.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.3152, allocations: 459.8 kB / 410.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003924/0.3192, allocations: 2.42 MB / 412.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.3212, allocations: 0.9829 MB / 413.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.3233, allocations: 1.118 MB / 415 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.3263, allocations: 1.339 MB / 416.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008176/0.3271, allocations: 280.1 kB / 416.7 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.3285, allocations: 401.8 kB / 417 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.3298, allocations: 0.822 MB / 417.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00273/0.3325, allocations: 1.033 MB / 418.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006136/0.3386, allocations: 3.769 MB / 422.7 MB, free: 8.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3386, allocations: 0 / 422.7 MB, free: 8.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3386, allocations: 4 kB / 422.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001867/0.3388, allocations: 1.219 kB / 422.7 MB, free: 8.875 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.01103/0.3499, allocations: 2.651 MB / 425.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3499, allocations: 11.98 kB / 425.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.351, allocations: 279.3 kB / 425.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.354, allocations: 1.255 MB / 426.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.3541, allocations: 139.7 kB / 427 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/0.3545, allocations: 192 kB / 427.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005108/0.3596, allocations: 2.532 MB / 429.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/0.3596, allocations: 7.953 kB / 429.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.3598, allocations: 76 kB / 429.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.36, allocations: 95.67 kB / 429.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/0.3636, allocations: 1.978 MB / 431.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.376, allocations: 6.324 MB / 438.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.3778, allocations: 1.083 MB / 439.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.3795, allocations: 0.8186 MB / 440.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/0.3797, allocations: 40.97 kB / 440.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001253/0.3809, allocations: 0.7879 MB / 440.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.805e-06/0.3809, allocations: 4 kB / 440.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01663/0.3975, allocations: 7.004 MB / 447.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.3977, allocations: 200.9 kB / 448.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.4, allocations: 1.273 MB / 449.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.4001, allocations: 45.7 kB / 449.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.4012, allocations: 0.9613 MB / 450.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/0.4017, allocations: 444.3 kB / 450.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004385/0.4021, allocations: 243.5 kB / 451.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4023, allocations: 357.9 kB / 451.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.4034, allocations: 0.6325 MB / 452.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.4049, allocations: 1.107 MB / 453.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.4076, allocations: 1.716 MB / 454.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.4076, allocations: 0 / 454.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004855/0.4124, allocations: 2.246 MB / 457.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.4125, allocations: 12 kB / 457.1 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/0.4125, allocations: 11.98 kB / 457.2 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.4138, allocations: 0.4884 MB / 457.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.415, allocations: 287.6 kB / 457.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008226/0.4232, allocations: 6.758 MB / 464.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.4247, allocations: 91.91 kB / 464.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.4249, allocations: 56 kB / 464.8 MB, free: 13.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001573/0.4265, allocations: 0.6416 MB / 465.5 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005054/0.427, allocations: 151 kB / 465.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/0.4312, allocations: 2.047 MB / 467.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.4312, allocations: 15.94 kB / 467.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.4312, allocations: 4 kB / 467.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.4312, allocations: 3.984 kB / 467.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009031/0.4403, allocations: 3.971 MB / 471.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.4403, allocations: 4 kB / 471.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008281/0.4411, allocations: 191.7 kB / 471.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.4426, allocations: 0.5314 MB / 472.4 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.4427, allocations: 39.98 kB / 472.4 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008829/0.4515, allocations: 8.17 MB / 480.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.4515, allocations: 4 kB / 480.6 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005226/0.4568, allocations: 3.005 MB / 483.6 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.4579, allocations: 286.9 kB / 483.9 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004095/0.4583, allocations: 32 kB / 483.9 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.4593, allocations: 67.92 kB / 484 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.4596, allocations: 112.6 kB / 484.1 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.514e-05/0.4597, allocations: 39.98 kB / 484.1 MB, free: 10 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001693/0.4614, allocations: 0.8619 MB / 485 MB, free: 9.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4614, allocations: 0 / 485 MB, free: 9.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002136/0.4635, allocations: 451.9 kB / 485.4 MB, free: 8.695 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,6,100.0%), (1,3,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.002033/0.4655, allocations: 0.5126 MB / 485.9 MB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003889/0.4694, allocations: 2.042 MB / 488 MB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.4694, allocations: 0 / 488 MB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002474/0.4719, allocations: 1.396 MB / 489.4 MB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.4745, allocations: 364 kB / 489.7 MB, free: 4.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009296/0.4838, allocations: 4.294 MB / 494 MB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/0.4858, allocations: 1.133 MB / 495.2 MB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001395/0.4872, allocations: 303.8 kB / 495.5 MB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/0.4878, allocations: 103.4 kB / 495.6 MB, free: 14.33 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4878, allocations: 0 / 495.6 MB, free: 14.33 MB / 414.1 MB Notification: Performance of Templates: time 0.04759/0.5353, allocations: 26.02 MB / 0.5094 GB, free: 4.254 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_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_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.75849973037839]