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.001044/0.001044, allocations: 111.4 kB / 16.51 MB, free: 6.707 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.001057/0.001057, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 47.92 kB / 300 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.115, allocations: 49.44 MB / 349.4 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01694/0.132, allocations: 9.411 MB / 358.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009123/0.1411, allocations: 3.424 MB / 362.2 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.1427, allocations: 43.81 kB / 362.3 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.1444, allocations: 0.6452 MB / 362.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.1463, allocations: 0.7228 MB / 363.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1473, allocations: 423.4 kB / 364.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.1499, allocations: 2.736 MB / 366.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.1515, allocations: 1.458 MB / 368.3 MB, free: 1.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.1527, allocations: 0.9729 MB / 369.2 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1943/0.347, allocations: 1.329 MB / 370.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007182/0.3478, allocations: 174.1 kB / 370.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.3489, allocations: 312.2 kB / 371 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008811/0.3498, allocations: 0.6993 MB / 371.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.3513, allocations: 1.168 MB / 372.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004026/0.3553, allocations: 3.609 MB / 376.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3554, allocations: 0 / 376.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3554, allocations: 0 / 376.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.945e-05/0.3555, allocations: 0 / 376.5 MB, free: 11.3 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.005476/0.3609, allocations: 2.664 MB / 379.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.361, allocations: 9.406 kB / 379.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007107/0.3617, allocations: 265.4 kB / 379.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.3638, allocations: 1.348 MB / 380.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.6e-05/0.3639, allocations: 146.4 kB / 380.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.3643, allocations: 193.2 kB / 381.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004011/0.3683, allocations: 2.437 MB / 383.6 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/0.3683, allocations: 14.12 kB / 383.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.3685, allocations: 74.12 kB / 383.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.3686, allocations: 99.25 kB / 383.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00329/0.3719, allocations: 1.988 MB / 385.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009568/0.3815, allocations: 7.397 MB / 393.1 MB, free: 3.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.3832, allocations: 1.351 MB / 394.5 MB, free: 2.152 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.3845, allocations: 0.8827 MB / 395.4 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.3847, allocations: 127.5 kB / 395.5 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008843/0.3856, allocations: 0.6807 MB / 396.2 MB, free: 1.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.325e-06/0.3856, allocations: 0 / 396.2 MB, free: 1.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01456/0.4002, allocations: 7.323 MB / 403.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.4003, allocations: 173.8 kB / 403.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.4026, allocations: 1.411 MB / 405.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.99e-05/0.4027, allocations: 53.69 kB / 405.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000834/0.4035, allocations: 0.9278 MB / 406 MB, free: 9.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.4039, allocations: 421.3 kB / 406.5 MB, free: 9.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/0.4043, allocations: 251.4 kB / 406.7 MB, free: 9.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4045, allocations: 357 kB / 407.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009777/0.4054, allocations: 0.6403 MB / 407.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.4067, allocations: 0.9988 MB / 408.7 MB, free: 7.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.4091, allocations: 1.708 MB / 410.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4091, allocations: 4 kB / 410.4 MB, free: 5.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004471/0.4136, allocations: 2.344 MB / 412.7 MB, free: 2.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.4136, allocations: 8 kB / 412.8 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.4137, allocations: 12 kB / 412.8 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.4149, allocations: 499.1 kB / 413.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.416, allocations: 302.5 kB / 413.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006499/0.4225, allocations: 6.587 MB / 420.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.424, allocations: 87.91 kB / 420.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.4241, allocations: 52 kB / 420.3 MB, free: 11.09 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.001261/0.4254, allocations: 0.6395 MB / 420.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.4257, allocations: 154.1 kB / 421.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/0.4293, allocations: 2.148 MB / 423.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.4293, allocations: 12 kB / 423.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4293, allocations: 10.34 kB / 423.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4293, allocations: 8.719 kB / 423.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00722/0.4366, allocations: 4.474 MB / 427.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.4366, allocations: 4.188 kB / 427.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007545/0.4374, allocations: 191.6 kB / 427.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.4387, allocations: 0.5391 MB / 428.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/0.4388, allocations: 31.98 kB / 428.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007467/0.4463, allocations: 8.019 MB / 436.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4463, allocations: 4.031 kB / 436.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004844/0.4512, allocations: 3.081 MB / 439.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000922/0.4521, allocations: 375 kB / 439.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.4524, allocations: 32 kB / 440 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000797/0.4532, allocations: 71.92 kB / 440.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.4534, allocations: 95.52 kB / 440.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/0.4535, allocations: 39.98 kB / 440.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001419/0.455, allocations: 0.9792 MB / 441.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.455, allocations: 0 / 441.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001639/0.4566, allocations: 448 kB / 441.6 MB, free: 5.105 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.001173/0.4578, allocations: 0.5006 MB / 442.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003511/0.4613, allocations: 2.247 MB / 444.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.4613, allocations: 4 kB / 444.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002278/0.4636, allocations: 1.515 MB / 445.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.466, allocations: 398.9 kB / 446.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007452/0.4734, allocations: 5.103 MB / 451.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.4749, allocations: 1.702 MB / 453.1 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00129/0.4762, allocations: 321 kB / 453.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.4766, allocations: 107.4 kB / 453.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4766, allocations: 2.625 kB / 453.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of Templates: time 0.04312/0.5197, allocations: 23.77 MB / 477.3 MB, free: 1.758 MB / 382.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 -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/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) Reference file matches