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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008798/0.0008797, allocations: 99.17 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009176/0.0009176, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.634/1.634, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 8 kB / 307.1 MB, free: 1.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.00944/0.1678, allocations: 8.417 MB / 367.1 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007505/0.1753, allocations: 3.395 MB / 370.4 MB, free: 1.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.1768, allocations: 43.81 kB / 370.5 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.1786, allocations: 0.6062 MB / 371.1 MB, free: 1.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.1812, allocations: 0.7149 MB / 371.8 MB, free: 436 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.1823, allocations: 307.5 kB / 372.1 MB, free: 128 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.253/0.4353, allocations: 2.461 MB / 374.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.4378, allocations: 1.256 MB / 375.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.4399, allocations: 0.8558 MB / 376.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.442, allocations: 1.148 MB / 377.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003476/0.4424, allocations: 124.6 kB / 378 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009226/0.4433, allocations: 235.5 kB / 378.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008482/0.4442, allocations: 0.6158 MB / 378.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006499/0.4449, allocations: 460.2 kB / 379.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.4484, allocations: 2.998 MB / 382.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4484, allocations: 4 kB / 382.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4484, allocations: 0 / 382.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.811e-05/0.4485, allocations: 0 / 382.3 MB, free: 9.07 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.004644/0.4531, allocations: 2.307 MB / 384.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4532, allocations: 8.719 kB / 384.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009025/0.4541, allocations: 286 kB / 384.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.4562, allocations: 1.304 MB / 386.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.4564, allocations: 140.1 kB / 386.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002875/0.4567, allocations: 192.2 kB / 386.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004156/0.4608, allocations: 2.429 MB / 388.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.766e-05/0.4609, allocations: 2.469 kB / 388.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.4611, allocations: 74.83 kB / 389 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.4612, allocations: 96.98 kB / 389.1 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003329/0.4645, allocations: 1.975 MB / 391.1 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.475, allocations: 7.438 MB / 398.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.4765, allocations: 1.351 MB / 399.8 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.478, allocations: 0.8856 MB / 400.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.4782, allocations: 121.3 kB / 400.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.4792, allocations: 0.6904 MB / 401.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.685e-06/0.4793, allocations: 0 / 401.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01544/0.4947, allocations: 7.404 MB / 408.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.4948, allocations: 167.2 kB / 409.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.497, allocations: 1.419 MB / 410.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.634e-05/0.4971, allocations: 45.7 kB / 410.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009054/0.498, allocations: 0.944 MB / 411.5 MB, free: 4.707 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/0.4984, allocations: 423.8 kB / 411.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.4985, allocations: 24 kB / 411.9 MB, free: 4.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4987, allocations: 369.9 kB / 412.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009865/0.4997, allocations: 0.6286 MB / 412.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.501, allocations: 1.005 MB / 413.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.5023, allocations: 0.7848 MB / 414.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5023, allocations: 7.5 kB / 414.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003978/0.5063, allocations: 2.325 MB / 417.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.5063, allocations: 11.98 kB / 417.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.5064, allocations: 10.44 kB / 417.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.5075, allocations: 0.4923 MB / 417.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5086, allocations: 295.6 kB / 417.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006936/0.5155, allocations: 6.573 MB / 424.4 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.517, allocations: 103.9 kB / 424.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.5172, allocations: 52 kB / 424.6 MB, free: 7.039 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 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001569/0.5188, allocations: 0.6423 MB / 425.2 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/0.5193, allocations: 158.1 kB / 425.4 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/0.5233, allocations: 2.144 MB / 427.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.5233, allocations: 12 kB / 427.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.5233, allocations: 4 kB / 427.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.5234, allocations: 11.92 kB / 427.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008474/0.5318, allocations: 4.468 MB / 432 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.5319, allocations: 4.375 kB / 432 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.5327, allocations: 191.7 kB / 432.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.534, allocations: 0.5323 MB / 432.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.5341, allocations: 39.97 kB / 432.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008332/0.5425, allocations: 8.02 MB / 440.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5425, allocations: 0 / 440.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00542/0.548, allocations: 3.076 MB / 443.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.549, allocations: 379.1 kB / 444.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004783/0.5495, allocations: 32 kB / 444.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5506, allocations: 71.92 kB / 444.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.5508, allocations: 104.8 kB / 444.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.063e-05/0.5509, allocations: 35.98 kB / 444.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001858/0.5528, allocations: 0.9757 MB / 445.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5528, allocations: 3.938 kB / 445.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00213/0.5549, allocations: 460.1 kB / 445.9 MB, free: 0.8984 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.5562, allocations: 477.2 kB / 446.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00379/0.56, allocations: 2.236 MB / 448.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.56, allocations: 0 / 448.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002383/0.5624, allocations: 1.53 MB / 450.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.5647, allocations: 405.3 kB / 450.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008953/0.5737, allocations: 5.042 MB / 455.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/0.5757, allocations: 1.706 MB / 457.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001446/0.5772, allocations: 321 kB / 457.6 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.5777, allocations: 111.4 kB / 457.7 MB, free: 5.008 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5777, allocations: 0 / 457.7 MB, free: 5.008 MB / 366.1 MB Notification: Performance of Templates: time 0.04352/0.6212, allocations: 22.89 MB / 480.6 MB, free: 14.36 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches