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.001244/0.001244, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.00133/0.00133, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.341/1.341, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 43.94 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2436, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01134/0.255, allocations: 9.462 MB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006885/0.2619, allocations: 3.46 MB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.2635, allocations: 55.75 kB / 414.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.2658, allocations: 0.7106 MB / 415.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.2685, allocations: 0.8077 MB / 415.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.2701, allocations: 470.1 kB / 416.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003487/0.2736, allocations: 2.409 MB / 418.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/0.2761, allocations: 1.782 MB / 420.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.2778, allocations: 1.106 MB / 421.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.2803, allocations: 1.386 MB / 423.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007668/0.2811, allocations: 276 kB / 423.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.2823, allocations: 407.8 kB / 423.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.2834, allocations: 0.8025 MB / 424.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.2855, allocations: 1.279 MB / 425.8 MB, free: 360 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003857/0.2894, allocations: 3.731 MB / 429.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.2894, allocations: 3.984 kB / 429.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2894, allocations: 0 / 429.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.043e-05/0.2895, allocations: 0 / 429.5 MB, free: 12.61 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.00501/0.2945, allocations: 2.667 MB / 432.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2946, allocations: 15.97 kB / 432.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.2952, allocations: 266 kB / 432.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.2973, allocations: 1.381 MB / 433.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.2975, allocations: 147.7 kB / 434 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/0.2977, allocations: 191.9 kB / 434.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/0.3016, allocations: 2.432 MB / 436.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.232e-05/0.3017, allocations: 15.84 kB / 436.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.3019, allocations: 72 kB / 436.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.737e-05/0.302, allocations: 95.67 kB / 436.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003222/0.3052, allocations: 1.99 MB / 438.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.3162, allocations: 7.311 MB / 446.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.3181, allocations: 1.356 MB / 447.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.3196, allocations: 0.8815 MB / 448.3 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.3198, allocations: 118.1 kB / 448.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.3209, allocations: 0.6828 MB / 449.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.075e-06/0.3209, allocations: 0 / 449.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01531/0.3362, allocations: 7.34 MB / 456.5 MB, free: 1.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.3363, allocations: 175.2 kB / 456.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.3382, allocations: 1.411 MB / 458.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-05/0.3384, allocations: 45.7 kB / 458.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007593/0.3391, allocations: 0.9326 MB / 459 MB, free: 14.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.3395, allocations: 429.8 kB / 459.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.3399, allocations: 247.4 kB / 459.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.34, allocations: 353.9 kB / 460 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009649/0.341, allocations: 0.6364 MB / 460.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.3423, allocations: 1.001 MB / 461.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/0.3446, allocations: 1.707 MB / 463.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3447, allocations: 4 kB / 463.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003765/0.3484, allocations: 2.34 MB / 465.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3485, allocations: 11.98 kB / 465.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.3485, allocations: 16.25 kB / 465.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.3496, allocations: 491.9 kB / 466.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3507, allocations: 299.5 kB / 466.5 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006823/0.3575, allocations: 7.175 MB / 473.7 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.3588, allocations: 103.8 kB / 473.8 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.3589, allocations: 48 kB / 473.9 MB, free: 14.78 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.001102/0.36, allocations: 0.6379 MB / 474.5 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/0.3603, allocations: 158.1 kB / 474.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.3639, allocations: 2.155 MB / 476.8 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.3639, allocations: 12 kB / 476.8 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.3639, allocations: 8 kB / 476.8 MB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.364, allocations: 7.969 kB / 476.8 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006849/0.3708, allocations: 4.438 MB / 481.3 MB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.3708, allocations: 0 / 481.3 MB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.3716, allocations: 195.7 kB / 481.5 MB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.373, allocations: 0.5351 MB / 482 MB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.892e-05/0.3731, allocations: 35.98 kB / 482 MB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007963/0.3811, allocations: 8.741 MB / 490.8 MB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3811, allocations: 4 kB / 490.8 MB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004676/0.3858, allocations: 3.083 MB / 493.9 MB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006557/0.3865, allocations: 367.1 kB / 494.2 MB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.3867, allocations: 35.98 kB / 494.3 MB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/0.3875, allocations: 71.94 kB / 494.3 MB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.3877, allocations: 100.8 kB / 494.4 MB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/0.3878, allocations: 39.98 kB / 494.5 MB, free: 9.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001436/0.3893, allocations: 0.9753 MB / 495.4 MB, free: 8.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3893, allocations: 4 kB / 495.4 MB, free: 8.328 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00155/0.3908, allocations: 452 kB / 495.9 MB, free: 7.887 MB / 414.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.001174/0.392, allocations: 0.4894 MB / 496.4 MB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003525/0.3955, allocations: 2.252 MB / 498.6 MB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3956, allocations: 4.125 kB / 498.6 MB, free: 5.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002233/0.3978, allocations: 1.522 MB / 0.4884 GB, free: 3.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.3999, allocations: 419.8 kB / 0.4888 GB, free: 3.215 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.4066, allocations: 4.28 MB / 0.493 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.4079, allocations: 1.682 MB / 0.4946 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004441/0.4084, allocations: 115.4 kB / 0.4948 GB, free: 13.03 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4084, allocations: 0 / 0.4948 GB, free: 13.03 MB / 430.1 MB Notification: Performance of Templates: time 0.2548/0.6632, allocations: 73.52 MB / 0.5666 GB, free: 114.5 MB / 462.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/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