Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001511, allocations: 214.8 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 230.5 MB / 258.1 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 59.91 kB / 379 MB, free: 2.242 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2491, allocations: 53.41 MB / 432.4 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01228/0.2614, allocations: 8.463 MB / 440.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007631/0.2691, allocations: 3.424 MB / 444.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.2707, allocations: 59.62 kB / 444.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.2732, allocations: 0.7336 MB / 445.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003554/0.2767, allocations: 0.8818 MB / 446 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.2783, allocations: 467.1 kB / 446.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003673/0.282, allocations: 2.42 MB / 448.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.2842, allocations: 1.01 MB / 449.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.2865, allocations: 1.137 MB / 451 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/0.2893, allocations: 1.346 MB / 452.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008982/0.2902, allocations: 276 kB / 452.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.2918, allocations: 415.8 kB / 453 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.2932, allocations: 0.8258 MB / 453.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.2956, allocations: 1.027 MB / 454.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005944/0.3016, allocations: 3.795 MB / 458.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3016, allocations: 0 / 458.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3016, allocations: 0 / 458.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001623/0.3017, allocations: 0 / 458.7 MB, free: 12.08 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.007649/0.3094, allocations: 2.671 MB / 461.3 MB, free: 9.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3094, allocations: 11.98 kB / 461.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.3106, allocations: 295.2 kB / 461.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003362/0.314, allocations: 1.326 MB / 463 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.3141, allocations: 143.7 kB / 463.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005092/0.3147, allocations: 187.9 kB / 463.3 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005258/0.3199, allocations: 2.544 MB / 465.8 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.773e-05/0.32, allocations: 11.94 kB / 465.8 MB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/0.3202, allocations: 72 kB / 465.9 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.3204, allocations: 95.67 kB / 466 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/0.3242, allocations: 1.986 MB / 468 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.3369, allocations: 6.328 MB / 474.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.3388, allocations: 1.054 MB / 475.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.3403, allocations: 0.8109 MB / 476.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.3405, allocations: 48.95 kB / 476.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.3417, allocations: 0.7831 MB / 477 MB, free: 9.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 4.99e-06/0.3417, allocations: 7.938 kB / 477 MB, free: 9.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01637/0.3581, allocations: 6.837 MB / 483.9 MB, free: 2.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.3582, allocations: 167.2 kB / 484 MB, free: 2.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.3604, allocations: 1.278 MB / 485.3 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.3605, allocations: 49.7 kB / 485.3 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009689/0.3615, allocations: 0.9692 MB / 486.3 MB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004447/0.3619, allocations: 448.2 kB / 486.7 MB, free: 15.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004384/0.3624, allocations: 243.5 kB / 487 MB, free: 15.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3626, allocations: 361.9 kB / 487.3 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.3636, allocations: 0.6403 MB / 488 MB, free: 14.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.3651, allocations: 1.106 MB / 489.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/0.3676, allocations: 1.707 MB / 490.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.3677, allocations: 4 kB / 490.8 MB, free: 11.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004165/0.3718, allocations: 2.246 MB / 493 MB, free: 8.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.3719, allocations: 15.98 kB / 493.1 MB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.3719, allocations: 8 kB / 493.1 MB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.3731, allocations: 0.4884 MB / 493.6 MB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.3743, allocations: 291.6 kB / 493.8 MB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007591/0.3819, allocations: 6.757 MB / 0.4889 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.3832, allocations: 103.9 kB / 0.489 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.3834, allocations: 55.92 kB / 0.489 GB, free: 0.8203 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.001271/0.3847, allocations: 0.6339 MB / 0.4896 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004304/0.3851, allocations: 151 kB / 0.4898 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/0.3891, allocations: 2.07 MB / 0.4918 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.3891, allocations: 12 kB / 0.4918 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/0.3891, allocations: 7.938 kB / 0.4918 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.3891, allocations: 3.984 kB / 0.4918 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008264/0.3974, allocations: 3.876 MB / 0.4956 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.3974, allocations: 7.938 kB / 0.4956 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/0.3982, allocations: 188.1 kB / 0.4958 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.3997, allocations: 0.5348 MB / 0.4963 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.3998, allocations: 39.97 kB / 0.4964 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00936/0.4092, allocations: 8.174 MB / 0.5043 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.4092, allocations: 7.938 kB / 0.5043 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005563/0.4148, allocations: 3.009 MB / 0.5073 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.4158, allocations: 282.9 kB / 0.5076 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/0.4162, allocations: 35.92 kB / 0.5076 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009772/0.4172, allocations: 67.94 kB / 0.5077 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.4174, allocations: 104.7 kB / 0.5078 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/0.4175, allocations: 43.98 kB / 0.5078 GB, free: 12.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001625/0.4191, allocations: 0.8662 MB / 0.5086 GB, free: 12.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4191, allocations: 0 / 0.5086 GB, free: 12.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001965/0.4211, allocations: 447.9 kB / 0.5091 GB, free: 11.66 MB / 430.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.002081/0.4232, allocations: 0.5224 MB / 0.5096 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004078/0.4273, allocations: 2.038 MB / 0.5116 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.4273, allocations: 0 / 0.5116 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002523/0.4298, allocations: 1.4 MB / 0.5129 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.432, allocations: 370.8 kB / 0.5133 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008662/0.4406, allocations: 4.352 MB / 0.5175 GB, free: 2.973 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/0.4425, allocations: 1.118 MB / 0.5186 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/0.443, allocations: 115.4 kB / 0.5187 GB, free: 1.703 MB / 430.1 MB Notification: Performance of SimCode: time 1.123e-06/0.443, allocations: 0 / 0.5187 GB, free: 1.703 MB / 430.1 MB Notification: Performance of Templates: time 0.266/0.709, allocations: 73.62 MB / 0.5906 GB, free: 55.7 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.74568224232644]