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.001628/0.001628, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001773/0.001773, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.503/1.503, allocations: 225.6 MB / 250.8 MB, free: 13.4 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.001516/0.001516, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3195, allocations: 52.14 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01368/0.3332, allocations: 9.57 MB / 430.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007106/0.3403, allocations: 3.492 MB / 433.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.3417, allocations: 47.81 kB / 434 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.3437, allocations: 0.7613 MB / 434.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002649/0.3463, allocations: 0.8352 MB / 435.6 MB, free: 396 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.3477, allocations: 479 kB / 436.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003448/0.3512, allocations: 2.412 MB / 438.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.3531, allocations: 1.052 MB / 439.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.355, allocations: 1.106 MB / 440.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.3576, allocations: 1.432 MB / 442.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007214/0.3583, allocations: 276 kB / 442.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.3595, allocations: 411.8 kB / 442.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.3608, allocations: 0.8102 MB / 443.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002245/0.363, allocations: 1.283 MB / 444.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005431/0.3685, allocations: 3.737 MB / 448.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3685, allocations: 3.938 kB / 448.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3685, allocations: 0 / 448.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001377/0.3686, allocations: 4 kB / 448.6 MB, free: 3.32 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.006243/0.3749, allocations: 2.731 MB / 451.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3749, allocations: 8.031 kB / 451.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/0.3757, allocations: 275.3 kB / 451.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.3781, allocations: 1.409 MB / 453 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.3782, allocations: 139.7 kB / 453.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.3785, allocations: 184 kB / 453.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00438/0.3829, allocations: 2.444 MB / 455.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/0.3829, allocations: 7.953 kB / 455.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.3831, allocations: 76 kB / 455.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.3832, allocations: 91.67 kB / 455.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003488/0.3867, allocations: 1.99 MB / 457.9 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.3993, allocations: 7.337 MB / 465.2 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.4013, allocations: 1.289 MB / 466.5 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.4028, allocations: 0.8346 MB / 467.4 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.4031, allocations: 122.1 kB / 467.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.4042, allocations: 0.6788 MB / 468.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.515e-06/0.4042, allocations: 0 / 468.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01611/0.4203, allocations: 7.353 MB / 475.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.4204, allocations: 171.2 kB / 475.7 MB, free: 7.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.4226, allocations: 1.419 MB / 477.1 MB, free: 6.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.4228, allocations: 45.7 kB / 477.1 MB, free: 6.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009288/0.4237, allocations: 0.9583 MB / 478.1 MB, free: 5.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004037/0.4241, allocations: 448.2 kB / 478.5 MB, free: 4.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.4245, allocations: 243.5 kB / 478.8 MB, free: 4.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002736/0.4248, allocations: 361.9 kB / 479.1 MB, free: 4.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.4259, allocations: 0.6403 MB / 479.8 MB, free: 3.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.4273, allocations: 0.9936 MB / 480.8 MB, free: 2.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.4298, allocations: 1.719 MB / 482.5 MB, free: 396 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4298, allocations: 0 / 482.5 MB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004333/0.4341, allocations: 2.337 MB / 484.8 MB, free: 14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.4342, allocations: 8 kB / 484.8 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.4342, allocations: 12 kB / 484.8 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.4354, allocations: 496.1 kB / 485.3 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.4366, allocations: 303.5 kB / 485.6 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007781/0.4443, allocations: 7.182 MB / 492.8 MB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.4457, allocations: 104 kB / 492.9 MB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.4458, allocations: 55.98 kB / 493 MB, free: 5.43 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.001228/0.447, allocations: 0.6378 MB / 493.6 MB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/0.4474, allocations: 163 kB / 493.8 MB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/0.4513, allocations: 2.131 MB / 495.9 MB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.4513, allocations: 16 kB / 495.9 MB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.4513, allocations: 4 kB / 495.9 MB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.4513, allocations: 3.984 kB / 495.9 MB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008027/0.4593, allocations: 4.457 MB / 0.4886 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.4593, allocations: 0 / 0.4886 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008179/0.4602, allocations: 191.8 kB / 0.4888 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.4616, allocations: 0.5417 MB / 0.4894 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.4617, allocations: 31.98 kB / 0.4894 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009929/0.4716, allocations: 8.732 MB / 0.4979 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.4716, allocations: 7.984 kB / 0.4979 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006346/0.478, allocations: 3.08 MB / 0.5009 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.4792, allocations: 376 kB / 0.5013 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/0.4796, allocations: 28 kB / 0.5013 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009481/0.4805, allocations: 67.92 kB / 0.5014 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004882/0.481, allocations: 96.75 kB / 0.5015 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.4811, allocations: 40.14 kB / 0.5015 GB, free: 15.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001913/0.483, allocations: 0.9831 MB / 0.5025 GB, free: 15 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.483, allocations: 0 / 0.5025 GB, free: 15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001999/0.485, allocations: 451.9 kB / 0.5029 GB, free: 14.55 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 (104): * Single equations (assignments): 97 * 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.001947/0.487, allocations: 0.4938 MB / 0.5034 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004183/0.4912, allocations: 2.185 MB / 0.5055 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4912, allocations: 0 / 0.5055 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002607/0.4938, allocations: 1.467 MB / 0.5069 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.4959, allocations: 420 kB / 0.5073 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007627/0.5036, allocations: 4.313 MB / 0.5116 GB, free: 5.621 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/0.5054, allocations: 1.702 MB / 0.5132 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001065/0.5065, allocations: 321 kB / 0.5135 GB, free: 3.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.5068, allocations: 111.4 kB / 0.5136 GB, free: 3.453 MB / 430.1 MB Notification: Performance of SimCode: time 1.804e-06/0.5068, allocations: 3.938 kB / 0.5136 GB, free: 3.449 MB / 430.1 MB Notification: Performance of Templates: time 0.2504/0.7571, allocations: 25.78 MB / 0.5388 GB, free: 108.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/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: 9.675579414702952]