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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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=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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 371.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2535, allocations: 52.19 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01253/0.266, allocations: 9.555 MB / 433.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007538/0.2736, allocations: 3.492 MB / 437 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.2753, allocations: 63.56 kB / 437 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.2777, allocations: 0.7536 MB / 437.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.2807, allocations: 0.8586 MB / 438.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.2824, allocations: 490.8 kB / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003952/0.2864, allocations: 2.416 MB / 441.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.2881, allocations: 1.052 MB / 442.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.29, allocations: 1.125 MB / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.2927, allocations: 1.425 MB / 445.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008724/0.2936, allocations: 276 kB / 445.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.295, allocations: 415.8 kB / 445.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.2962, allocations: 0.8219 MB / 446.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001918/0.2982, allocations: 1.272 MB / 447.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00491/0.3031, allocations: 3.74 MB / 451.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3031, allocations: 0 / 451.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3031, allocations: 0 / 451.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001199/0.3032, allocations: 0 / 451.6 MB, free: 2.793 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.006449/0.3096, allocations: 2.659 MB / 454.3 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3097, allocations: 8.031 kB / 454.3 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008092/0.3105, allocations: 291.9 kB / 454.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.3132, allocations: 1.321 MB / 455.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.3134, allocations: 139.7 kB / 456 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.3137, allocations: 196 kB / 456.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004329/0.318, allocations: 2.44 MB / 458.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-05/0.3181, allocations: 11.89 kB / 458.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.3183, allocations: 76 kB / 458.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.3184, allocations: 95.67 kB / 458.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/0.322, allocations: 1.982 MB / 460.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.3352, allocations: 7.198 MB / 468 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.3371, allocations: 1.053 MB / 469.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.3387, allocations: 0.8226 MB / 469.9 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.3389, allocations: 44.95 kB / 470 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.3401, allocations: 0.6866 MB / 470.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.525e-06/0.3401, allocations: 0 / 470.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.0164/0.3565, allocations: 6.83 MB / 477.5 MB, free: 8.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.3566, allocations: 167.2 kB / 477.6 MB, free: 8.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.3589, allocations: 1.422 MB / 479.1 MB, free: 6.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.359, allocations: 45.7 kB / 479.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009285/0.3599, allocations: 0.9545 MB / 480.1 MB, free: 5.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004527/0.3604, allocations: 440.2 kB / 480.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/0.3608, allocations: 247.5 kB / 480.7 MB, free: 5.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.361, allocations: 361.9 kB / 481.1 MB, free: 4.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.3621, allocations: 0.6364 MB / 481.7 MB, free: 4.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.3634, allocations: 1.005 MB / 482.7 MB, free: 3.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.366, allocations: 1.707 MB / 484.4 MB, free: 1.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.366, allocations: 0 / 484.4 MB, free: 1.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004256/0.3703, allocations: 2.265 MB / 486.7 MB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.3703, allocations: 15.53 kB / 486.7 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.3703, allocations: 12 kB / 486.7 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.3716, allocations: 491.9 kB / 487.2 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.3727, allocations: 295.5 kB / 487.5 MB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00771/0.3805, allocations: 6.883 MB / 494.4 MB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.3818, allocations: 91.91 kB / 494.5 MB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.382, allocations: 52 kB / 494.5 MB, free: 6.758 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.001215/0.3832, allocations: 0.6418 MB / 495.2 MB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003619/0.3836, allocations: 159 kB / 495.3 MB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.3875, allocations: 2.075 MB / 497.4 MB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.3875, allocations: 12 kB / 497.4 MB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3875, allocations: 4 kB / 497.4 MB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.3876, allocations: 7.969 kB / 497.4 MB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008324/0.3959, allocations: 4.338 MB / 0.49 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.3959, allocations: 4 kB / 0.49 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/0.3967, allocations: 191.7 kB / 0.4902 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.3982, allocations: 0.5419 MB / 0.4907 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.3984, allocations: 31.98 kB / 0.4907 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009172/0.4075, allocations: 8.326 MB / 0.4989 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.4075, allocations: 7.938 kB / 0.4989 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/0.4129, allocations: 3.005 MB / 0.5018 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.414, allocations: 294.8 kB / 0.5021 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.4142, allocations: 35.98 kB / 0.5021 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008264/0.4151, allocations: 75.86 kB / 0.5022 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.4153, allocations: 104.7 kB / 0.5023 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.673e-05/0.4154, allocations: 35.98 kB / 0.5023 GB, free: 2.207 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001547/0.417, allocations: 0.9792 MB / 0.5033 GB, free: 1.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.417, allocations: 0 / 0.5033 GB, free: 1.227 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001785/0.4187, allocations: 447.9 kB / 0.5037 GB, free: 0.7891 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.001865/0.4206, allocations: 0.4918 MB / 0.5042 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004021/0.4246, allocations: 2.031 MB / 0.5062 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.4246, allocations: 4 kB / 0.5062 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.4272, allocations: 1.392 MB / 0.5075 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.4295, allocations: 429.5 kB / 0.5079 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008097/0.4376, allocations: 4.357 MB / 0.5122 GB, free: 8.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.4391, allocations: 1.686 MB / 0.5138 GB, free: 6.359 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.4397, allocations: 119.4 kB / 0.514 GB, free: 6.242 MB / 430.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4397, allocations: 0 / 0.514 GB, free: 6.242 MB / 430.1 MB Notification: Performance of Templates: time 0.276/0.7157, allocations: 73.68 MB / 0.5859 GB, free: 66.76 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.262234463822097]