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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=400000,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=400000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 112.1 kB / 17.68 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 54.08 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09886, allocations: 49.45 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01137/0.1103, allocations: 9.466 MB / 361 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006171/0.1165, allocations: 3.447 MB / 364.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.1176, allocations: 51.81 kB / 364.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.1194, allocations: 0.73 MB / 365.2 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.1215, allocations: 0.796 MB / 366 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1226, allocations: 478 kB / 366.5 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002441/0.1251, allocations: 2.412 MB / 368.9 MB, free: 2.238 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.127, allocations: 1.778 MB / 370.7 MB, free: 424 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1943/0.3213, allocations: 1.088 MB / 371.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.3242, allocations: 1.391 MB / 373.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006642/0.3249, allocations: 278.9 kB / 373.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.3261, allocations: 406.3 kB / 373.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008944/0.327, allocations: 0.7972 MB / 374.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.3287, allocations: 1.283 MB / 375.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004878/0.3336, allocations: 3.724 MB / 379.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3337, allocations: 0.625 kB / 379.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3337, allocations: 1.25 kB / 379.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000128/0.3338, allocations: 0.6562 kB / 379.6 MB, free: 11.57 MB / 302.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.007848/0.3417, allocations: 2.669 MB / 382.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3417, allocations: 9.875 kB / 382.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009064/0.3426, allocations: 265.8 kB / 382.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/0.3458, allocations: 1.386 MB / 383.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.346, allocations: 143.5 kB / 384.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/0.3463, allocations: 196.9 kB / 384.3 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004715/0.351, allocations: 2.438 MB / 386.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.046e-05/0.3511, allocations: 15.81 kB / 386.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/0.3513, allocations: 72 kB / 386.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.3515, allocations: 93.95 kB / 386.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/0.3551, allocations: 1.989 MB / 388.9 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.3668, allocations: 7.297 MB / 396.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.3683, allocations: 1.361 MB / 397.5 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.3696, allocations: 0.8871 MB / 398.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.3698, allocations: 126.2 kB / 398.5 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000897/0.3707, allocations: 0.6802 MB / 399.2 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.505e-06/0.3707, allocations: 0 / 399.2 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01548/0.3862, allocations: 7.314 MB / 406.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.827e-05/0.3863, allocations: 175.2 kB / 406.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.3885, allocations: 1.415 MB / 408.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.3886, allocations: 45.7 kB / 408.2 MB, free: 8.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008022/0.3894, allocations: 0.9349 MB / 409.1 MB, free: 7.738 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/0.3898, allocations: 427.9 kB / 409.5 MB, free: 7.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000392/0.3902, allocations: 239.5 kB / 409.8 MB, free: 7.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3903, allocations: 357.9 kB / 410.1 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000992/0.3913, allocations: 0.6403 MB / 410.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.3926, allocations: 1.003 MB / 411.7 MB, free: 4.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/0.3949, allocations: 1.71 MB / 413.5 MB, free: 3.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3949, allocations: 4 kB / 413.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003902/0.3988, allocations: 2.341 MB / 415.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.3989, allocations: 8 kB / 415.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3989, allocations: 12 kB / 415.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.4, allocations: 494.7 kB / 416.3 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4011, allocations: 302.3 kB / 416.6 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00727/0.4084, allocations: 7.186 MB / 423.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.41, allocations: 99.89 kB / 423.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.4101, allocations: 51.98 kB / 423.9 MB, free: 8.312 MB / 334.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.001266/0.4114, allocations: 0.6401 MB / 424.6 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.4117, allocations: 153.8 kB / 424.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.4153, allocations: 2.147 MB / 426.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.4154, allocations: 19.98 kB / 426.9 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.4154, allocations: 4 kB / 426.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.4154, allocations: 7.984 kB / 426.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007397/0.4228, allocations: 4.435 MB / 431.3 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.4228, allocations: 3.938 kB / 431.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008076/0.4237, allocations: 194.6 kB / 431.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.4251, allocations: 0.5407 MB / 432.1 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.4252, allocations: 35.98 kB / 432.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009513/0.4347, allocations: 8.736 MB / 440.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.4348, allocations: 7.75 kB / 440.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005168/0.44, allocations: 3.088 MB / 443.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.441, allocations: 367.1 kB / 444.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.4413, allocations: 32 kB / 444.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008005/0.4421, allocations: 67.92 kB / 444.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/0.4423, allocations: 100.7 kB / 444.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-05/0.4424, allocations: 39.98 kB / 444.5 MB, free: 3.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001551/0.444, allocations: 0.9753 MB / 445.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.444, allocations: 0 / 445.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001941/0.4459, allocations: 452 kB / 445.9 MB, free: 1.621 MB / 350.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.00124/0.4472, allocations: 0.4972 MB / 446.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003903/0.4511, allocations: 2.252 MB / 448.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4511, allocations: 4 kB / 448.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.4535, allocations: 1.518 MB / 450.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.4555, allocations: 412 kB / 450.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006892/0.4624, allocations: 4.219 MB / 454.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.4641, allocations: 1.706 MB / 456.5 MB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001054/0.4651, allocations: 317 kB / 456.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.4655, allocations: 111.4 kB / 457 MB, free: 6.613 MB / 366.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4655, allocations: 0 / 457 MB, free: 6.613 MB / 366.1 MB Notification: Performance of Templates: time 0.04301/0.5085, allocations: 24.66 MB / 481.6 MB, free: 14.27 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) 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) Reference file matches