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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001801/0.001801, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002175/0.002175, allocations: 207.9 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 59.91 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2553, allocations: 53.41 MB / 431.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01179/0.2671, allocations: 8.452 MB / 440.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007506/0.2746, allocations: 3.431 MB / 443.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.2763, allocations: 63.62 kB / 443.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.2788, allocations: 0.7106 MB / 444.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.2822, allocations: 0.8974 MB / 445.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.2835, allocations: 459.1 kB / 445.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003463/0.287, allocations: 2.424 MB / 448.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.2885, allocations: 1.006 MB / 449.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.2905, allocations: 1.137 MB / 450.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.2927, allocations: 1.346 MB / 451.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004496/0.2931, allocations: 280 kB / 451.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008749/0.294, allocations: 415.8 kB / 452.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000857/0.2949, allocations: 0.8219 MB / 453.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.2961, allocations: 1.031 MB / 454.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004631/0.3007, allocations: 3.797 MB / 457.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3007, allocations: 0 / 457.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3007, allocations: 0 / 457.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.404e-05/0.3008, allocations: 0 / 457.9 MB, free: 12.14 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.00556/0.3064, allocations: 2.667 MB / 460.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3064, allocations: 11.98 kB / 460.6 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/0.3072, allocations: 291.3 kB / 460.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/0.31, allocations: 1.33 MB / 462.2 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.3101, allocations: 139.7 kB / 462.3 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.3105, allocations: 192 kB / 462.5 MB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004493/0.3149, allocations: 2.548 MB / 465.1 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.677e-05/0.315, allocations: 7.953 kB / 465.1 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.3152, allocations: 76 kB / 465.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.3153, allocations: 95.67 kB / 465.2 MB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003742/0.319, allocations: 1.978 MB / 467.2 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.3307, allocations: 6.328 MB / 473.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.3326, allocations: 1.05 MB / 474.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.3343, allocations: 0.8226 MB / 475.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.3345, allocations: 44.95 kB / 475.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.3357, allocations: 0.7831 MB / 476.2 MB, free: 9.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.466e-06/0.3357, allocations: 0 / 476.2 MB, free: 9.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01709/0.3528, allocations: 6.837 MB / 483.1 MB, free: 2.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.3529, allocations: 171.2 kB / 483.2 MB, free: 2.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.355, allocations: 1.282 MB / 484.5 MB, free: 1.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.3551, allocations: 49.7 kB / 484.6 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.3562, allocations: 0.9694 MB / 485.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005299/0.3567, allocations: 440.3 kB / 486 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000437/0.3572, allocations: 251.5 kB / 486.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.3574, allocations: 357.9 kB / 486.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3585, allocations: 0.6364 MB / 487.2 MB, free: 14.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.36, allocations: 1.106 MB / 488.3 MB, free: 13.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/0.3627, allocations: 1.707 MB / 490 MB, free: 11.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.3627, allocations: 4 kB / 490 MB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004441/0.3671, allocations: 2.261 MB / 492.3 MB, free: 8.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.3671, allocations: 8 kB / 492.3 MB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.3672, allocations: 12 kB / 492.3 MB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.3684, allocations: 0.4952 MB / 492.8 MB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.3696, allocations: 291.5 kB / 493.1 MB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007966/0.3775, allocations: 6.757 MB / 499.8 MB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.3789, allocations: 87.91 kB / 499.9 MB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.3791, allocations: 59.98 kB / 500 MB, free: 0.8867 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.001403/0.3805, allocations: 0.6378 MB / 0.4889 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004779/0.381, allocations: 155 kB / 0.489 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/0.3853, allocations: 2.066 MB / 0.4911 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.3853, allocations: 12 kB / 0.4911 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/0.3854, allocations: 7.938 kB / 0.4911 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.3854, allocations: 15.91 kB / 0.4911 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00843/0.3938, allocations: 3.869 MB / 0.4949 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.3938, allocations: 4 kB / 0.4949 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009228/0.3947, allocations: 191.8 kB / 0.4951 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/0.3964, allocations: 0.5313 MB / 0.4956 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.3965, allocations: 35.98 kB / 0.4956 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009164/0.4057, allocations: 8.181 MB / 0.5036 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.4057, allocations: 7.969 kB / 0.5036 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005354/0.411, allocations: 3.013 MB / 0.5065 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009345/0.412, allocations: 282.9 kB / 0.5068 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/0.4123, allocations: 35.98 kB / 0.5069 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009103/0.4132, allocations: 63.94 kB / 0.5069 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/0.4135, allocations: 108.7 kB / 0.507 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.221e-05/0.4135, allocations: 32 kB / 0.507 GB, free: 13.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001546/0.4151, allocations: 0.874 MB / 0.5079 GB, free: 12.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4151, allocations: 0 / 0.5079 GB, free: 12.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001722/0.4168, allocations: 451.9 kB / 0.5083 GB, free: 11.72 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.001922/0.4187, allocations: 0.514 MB / 0.5088 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003802/0.4225, allocations: 2.034 MB / 0.5108 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.4225, allocations: 4 kB / 0.5108 GB, free: 9.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.425, allocations: 1.4 MB / 0.5122 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.4269, allocations: 372.7 kB / 0.5125 GB, free: 7.465 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00797/0.4349, allocations: 4.288 MB / 0.5167 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/0.4365, allocations: 1.141 MB / 0.5178 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00106/0.4376, allocations: 303.8 kB / 0.5181 GB, free: 1.621 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/0.438, allocations: 103.4 kB / 0.5182 GB, free: 1.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.438, allocations: 0 / 0.5182 GB, free: 1.52 MB / 430.1 MB Notification: Performance of Templates: time 0.2495/0.6875, allocations: 26.13 MB / 0.5438 GB, free: 95.18 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.418210703879595]