Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.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.001929/0.001929, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.003001/0.003001, allocations: 187.5 kB / 24.46 MB, free: 3.863 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.439/1.439, allocations: 225.7 MB / 253.3 MB, free: 12.82 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_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 59.91 kB / 371.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2374, allocations: 52.19 MB / 423.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01141/0.2488, allocations: 8.406 MB / 432.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006295/0.2551, allocations: 3.261 MB / 435.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.2561, allocations: 71.5 kB / 435.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.2579, allocations: 0.7107 MB / 436.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.2603, allocations: 0.8506 MB / 437.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.2616, allocations: 482.4 kB / 437.6 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003327/0.2649, allocations: 2.409 MB / 440 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.2665, allocations: 1.017 MB / 441 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.2683, allocations: 1.121 MB / 442.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.2705, allocations: 1.339 MB / 443.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004346/0.2709, allocations: 280 kB / 443.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008448/0.2718, allocations: 403.8 kB / 444.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000845/0.2726, allocations: 0.8141 MB / 445 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.2739, allocations: 1.031 MB / 446 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00434/0.2783, allocations: 3.772 MB / 449.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2783, allocations: 0 / 449.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.2783, allocations: 0 / 449.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.011e-05/0.2784, allocations: 0 / 449.8 MB, free: 4.527 MB / 350.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.005704/0.2841, allocations: 2.655 MB / 452.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.2841, allocations: 8.031 kB / 452.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007184/0.2848, allocations: 279.3 kB / 452.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.2876, allocations: 1.333 MB / 454.1 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.2877, allocations: 139.7 kB / 454.2 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003221/0.288, allocations: 184 kB / 454.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004095/0.2921, allocations: 2.54 MB / 456.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.617e-05/0.2922, allocations: 7.953 kB / 456.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.2923, allocations: 80 kB / 457 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.2925, allocations: 95.67 kB / 457.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003746/0.2962, allocations: 1.99 MB / 459.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.3084, allocations: 6.32 MB / 465.4 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.3103, allocations: 1.046 MB / 466.4 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.3119, allocations: 0.8265 MB / 467.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.3121, allocations: 44.97 kB / 467.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.3134, allocations: 0.787 MB / 468.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 6.021e-06/0.3134, allocations: 7.922 kB / 468.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01627/0.3297, allocations: 6.819 MB / 474.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.3298, allocations: 171.2 kB / 475.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.3319, allocations: 1.269 MB / 476.4 MB, free: 9.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.332, allocations: 45.7 kB / 476.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009614/0.333, allocations: 0.9614 MB / 477.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/0.3334, allocations: 448.2 kB / 477.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004173/0.3338, allocations: 243.5 kB / 478 MB, free: 7.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.334, allocations: 365.9 kB / 478.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.3351, allocations: 0.6402 MB / 479 MB, free: 6.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.3366, allocations: 1.102 MB / 480.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/0.3392, allocations: 1.711 MB / 481.9 MB, free: 3.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3392, allocations: 8 kB / 481.9 MB, free: 3.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004302/0.3435, allocations: 2.246 MB / 484.1 MB, free: 1.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.3435, allocations: 12.25 kB / 484.1 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.342e-05/0.3435, allocations: 8 kB / 484.1 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.3448, allocations: 499.8 kB / 484.6 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.3459, allocations: 295.5 kB / 484.9 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007708/0.3536, allocations: 6.76 MB / 491.7 MB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.3552, allocations: 95.81 kB / 491.8 MB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.3554, allocations: 55.92 kB / 491.8 MB, free: 9.324 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.001314/0.3567, allocations: 0.634 MB / 492.4 MB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004586/0.3572, allocations: 147.1 kB / 492.6 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004127/0.3613, allocations: 2.062 MB / 494.7 MB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.3613, allocations: 15.94 kB / 494.7 MB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.3613, allocations: 4 kB / 494.7 MB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.3614, allocations: 11.97 kB / 494.7 MB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00795/0.3693, allocations: 3.88 MB / 498.6 MB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.3693, allocations: 7.984 kB / 498.6 MB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008434/0.3702, allocations: 191.8 kB / 498.8 MB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/0.3716, allocations: 0.5271 MB / 499.3 MB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.3717, allocations: 35.97 kB / 499.3 MB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00893/0.3807, allocations: 8.184 MB / 0.4956 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/0.3807, allocations: 4 kB / 0.4956 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005376/0.386, allocations: 3.001 MB / 0.4985 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009406/0.387, allocations: 278.9 kB / 0.4988 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003684/0.3874, allocations: 35.92 kB / 0.4988 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009363/0.3883, allocations: 75.94 kB / 0.4989 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/0.3885, allocations: 100.7 kB / 0.499 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.172e-05/0.3886, allocations: 39.98 kB / 0.4991 GB, free: 5.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00154/0.3902, allocations: 0.8581 MB / 0.4999 GB, free: 4.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3902, allocations: 0 / 0.4999 GB, free: 4.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001737/0.3919, allocations: 455.9 kB / 0.5003 GB, free: 4.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (105): * Single equations (assignments): 98 * 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.001936/0.3938, allocations: 0.5282 MB / 0.5008 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003953/0.3978, allocations: 2.033 MB / 0.5028 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.3978, allocations: 0 / 0.5028 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00247/0.4003, allocations: 1.39 MB / 0.5042 GB, free: 316 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.4024, allocations: 357.6 kB / 0.5045 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008098/0.4105, allocations: 4.344 MB / 0.5088 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/0.4121, allocations: 1.114 MB / 0.5099 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005242/0.4127, allocations: 107.4 kB / 0.51 GB, free: 10.28 MB / 430.1 MB Notification: Performance of SimCode: time 1.093e-06/0.4127, allocations: 0 / 0.51 GB, free: 10.28 MB / 430.1 MB Notification: Performance of Templates: time 0.2651/0.6778, allocations: 73.29 MB / 0.5815 GB, free: 71.2 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 16.596021058037877]