Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 107.6 kB / 21.19 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 207.5 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 51.86 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2656, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01149/0.2771, allocations: 8.456 MB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006824/0.2839, allocations: 3.431 MB / 444.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.2851, allocations: 63.62 kB / 444.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.287, allocations: 0.7146 MB / 445 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00311/0.2901, allocations: 0.8935 MB / 445.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.2914, allocations: 463 kB / 446.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003118/0.2945, allocations: 2.424 MB / 448.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.296, allocations: 1.013 MB / 449.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.2977, allocations: 1.137 MB / 450.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.2998, allocations: 1.343 MB / 452.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004432/0.3002, allocations: 280 kB / 452.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008806/0.3011, allocations: 411.8 kB / 452.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000856/0.302, allocations: 0.8258 MB / 453.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.3032, allocations: 1.035 MB / 454.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004312/0.3075, allocations: 3.791 MB / 458.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3075, allocations: 0 / 458.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3075, allocations: 0 / 458.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.273e-05/0.3076, allocations: 0 / 458.6 MB, free: 12.35 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.005742/0.3133, allocations: 2.675 MB / 461.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.3134, allocations: 12.03 kB / 461.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.3143, allocations: 287.3 kB / 461.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/0.3171, allocations: 1.329 MB / 462.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.3173, allocations: 143.7 kB / 463 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/0.3176, allocations: 191.9 kB / 463.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004372/0.3219, allocations: 2.54 MB / 465.8 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.005e-05/0.322, allocations: 11.95 kB / 465.8 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.3222, allocations: 72 kB / 465.8 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.3223, allocations: 95.67 kB / 465.9 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/0.3258, allocations: 1.982 MB / 467.9 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/0.3371, allocations: 6.332 MB / 474.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.3389, allocations: 1.054 MB / 475.3 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.3405, allocations: 0.8194 MB / 476.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.3407, allocations: 44.97 kB / 476.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.3419, allocations: 0.7754 MB / 476.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.835e-06/0.3419, allocations: 4 kB / 476.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01808/0.3599, allocations: 6.842 MB / 483.8 MB, free: 2.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.3601, allocations: 167.2 kB / 484 MB, free: 2.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.3622, allocations: 1.282 MB / 485.2 MB, free: 1.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.3623, allocations: 45.7 kB / 485.3 MB, free: 1.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009698/0.3633, allocations: 0.9692 MB / 486.2 MB, free: 196 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000463/0.3637, allocations: 444.5 kB / 486.7 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.3642, allocations: 247.5 kB / 486.9 MB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3643, allocations: 361.9 kB / 487.3 MB, free: 15.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.3654, allocations: 0.6364 MB / 487.9 MB, free: 14.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.3669, allocations: 1.106 MB / 489 MB, free: 13.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.3695, allocations: 1.707 MB / 490.7 MB, free: 11.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.3695, allocations: 4 kB / 490.7 MB, free: 11.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004377/0.3739, allocations: 2.257 MB / 493 MB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.3739, allocations: 8 kB / 493 MB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.3739, allocations: 8 kB / 493 MB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.3752, allocations: 496.2 kB / 493.5 MB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.3764, allocations: 299.5 kB / 493.8 MB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007727/0.3841, allocations: 6.755 MB / 0.4888 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.3855, allocations: 95.97 kB / 0.4889 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.3856, allocations: 55.98 kB / 0.4889 GB, free: 1.105 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.001233/0.3868, allocations: 0.6416 MB / 0.4896 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/0.3872, allocations: 155 kB / 0.4897 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/0.3911, allocations: 2.074 MB / 0.4917 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.3911, allocations: 12 kB / 0.4918 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.3911, allocations: 4 kB / 0.4918 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.3911, allocations: 11.97 kB / 0.4918 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007683/0.3988, allocations: 3.873 MB / 0.4956 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.3988, allocations: 4 kB / 0.4956 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/0.3996, allocations: 196.1 kB / 0.4957 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.4011, allocations: 0.531 MB / 0.4963 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.4012, allocations: 35.98 kB / 0.4963 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008907/0.4101, allocations: 8.17 MB / 0.5043 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4101, allocations: 4.031 kB / 0.5043 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005303/0.4154, allocations: 3.012 MB / 0.5072 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009694/0.4164, allocations: 282.9 kB / 0.5075 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.4166, allocations: 31.98 kB / 0.5075 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008049/0.4174, allocations: 67.98 kB / 0.5076 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.4177, allocations: 112.7 kB / 0.5077 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/0.4178, allocations: 36 kB / 0.5077 GB, free: 13.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.4192, allocations: 0.8701 MB / 0.5086 GB, free: 12.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4192, allocations: 0 / 0.5086 GB, free: 12.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001722/0.4209, allocations: 447.9 kB / 0.509 GB, free: 11.94 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.00194/0.4228, allocations: 0.5237 MB / 0.5095 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003874/0.4267, allocations: 2.038 MB / 0.5115 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.4267, allocations: 0 / 0.5115 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002465/0.4292, allocations: 1.404 MB / 0.5129 GB, free: 8.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.4311, allocations: 358.9 kB / 0.5132 GB, free: 7.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007589/0.4387, allocations: 4.371 MB / 0.5175 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.4401, allocations: 1.11 MB / 0.5186 GB, free: 2.109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.4405, allocations: 111.4 kB / 0.5187 GB, free: 2 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4405, allocations: 7.938 kB / 0.5187 GB, free: 1.992 MB / 430.1 MB Notification: Performance of Templates: time 0.2867/0.7272, allocations: 73.63 MB / 0.5906 GB, free: 56.15 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 16.474263635929674]