Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 181.8 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 221.4 MB / 229.9 MB, free: 3.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009302/0.0009302, allocations: 100.9 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.911e-06, allocations: 0 / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1985, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.3143, allocations: 113.7 MB / 0.4889 GB, free: 5.098 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.3146, allocations: 99.92 kB / 0.4889 GB, free: 5 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.3069/0.6215, allocations: 82.7 MB / 0.5697 GB, free: 40.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001628/0.6217, allocations: 79.88 kB / 0.5698 GB, free: 40.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.006257/0.628, allocations: 3.319 MB / 0.573 GB, free: 36.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.628, allocations: 15.97 kB / 0.573 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/0.6319, allocations: 0.7411 MB / 0.5738 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006756/0.6386, allocations: 3.38 MB / 0.5771 GB, free: 32.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.094e-05/0.6387, allocations: 104 kB / 0.5772 GB, free: 32.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004222/0.6392, allocations: 195.9 kB / 0.5774 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004748/0.6439, allocations: 3.203 MB / 0.5805 GB, free: 28.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005039/0.649, allocations: 3.705 MB / 0.5841 GB, free: 25.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-05/0.6491, allocations: 7.844 kB / 0.5841 GB, free: 25.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.6493, allocations: 4 kB / 0.5841 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.402e-05/0.6494, allocations: 150.4 kB / 0.5843 GB, free: 24.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/0.6649, allocations: 12.92 MB / 0.5969 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.6662, allocations: 1.124 MB / 0.598 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.6679, allocations: 1.357 MB / 0.5993 GB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005436/0.6734, allocations: 4.128 MB / 0.6033 GB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.6746, allocations: 0.9562 MB / 0.6043 GB, free: 4.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=161): time 3.506e-06/0.6746, allocations: 0 / 0.6043 GB, free: 4.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.01055/0.6851, allocations: 5.666 MB / 0.6098 GB, free: 14.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.6853, allocations: 231.6 kB / 0.61 GB, free: 13.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.6877, allocations: 1.368 MB / 0.6114 GB, free: 12.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.6879, allocations: 29.7 kB / 0.6114 GB, free: 12.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.6891, allocations: 1.192 MB / 0.6125 GB, free: 11.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004883/0.6896, allocations: 0.5465 MB / 0.6131 GB, free: 10.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.6897, allocations: 4 kB / 0.6131 GB, free: 10.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6898, allocations: 377.9 kB / 0.6134 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.6909, allocations: 0.7419 MB / 0.6142 GB, free: 9.648 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.6923, allocations: 1.28 MB / 0.6154 GB, free: 8.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.6941, allocations: 1.017 MB / 0.6164 GB, free: 7.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.6941, allocations: 4 kB / 0.6164 GB, free: 7.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.004313/0.6984, allocations: 2.546 MB / 0.6189 GB, free: 4.535 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6984, allocations: 4 kB / 0.6189 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.6985, allocations: 16 kB / 0.6189 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000753/0.6992, allocations: 287.6 kB / 0.6192 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.7009, allocations: 431.3 kB / 0.6196 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/0.706, allocations: 5.511 MB / 0.625 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.7076, allocations: 63.92 kB / 0.625 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.7077, allocations: 72.06 kB / 0.6251 GB, free: 13.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (225): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.708, allocations: 160.4 kB / 0.6253 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.7083, allocations: 193.7 kB / 0.6255 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/0.7127, allocations: 2.43 MB / 0.6278 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.7127, allocations: 16 kB / 0.6278 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.7127, allocations: 8 kB / 0.6279 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.7127, allocations: 7.969 kB / 0.6279 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008751/0.7215, allocations: 5.401 MB / 0.6331 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.7215, allocations: 4 kB / 0.6331 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.7226, allocations: 227.7 kB / 0.6334 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.7239, allocations: 472.4 kB / 0.6338 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.724, allocations: 15.98 kB / 0.6338 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009293/0.7333, allocations: 9.563 MB / 0.6432 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.7333, allocations: 8.094 kB / 0.6432 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006206/0.7396, allocations: 3.498 MB / 0.6466 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.7409, allocations: 450.7 kB / 0.647 GB, free: 6.434 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008962/0.7418, allocations: 19.92 kB / 0.647 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.7432, allocations: 43.95 kB / 0.6471 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.7434, allocations: 89.86 kB / 0.6472 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.7436, allocations: 43.98 kB / 0.6472 GB, free: 6.242 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002006/0.7456, allocations: 1.032 MB / 0.6482 GB, free: 5.215 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002657/0.7482, allocations: 0.5627 MB / 0.6488 GB, free: 4.652 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.7493, allocations: 0.5534 MB / 0.6493 GB, free: 4.141 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003524/0.7529, allocations: 2.276 MB / 0.6515 GB, free: 1.816 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7529, allocations: 0 / 0.6515 GB, free: 1.816 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0025/0.7554, allocations: 1.52 MB / 0.653 GB, free: 256 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1288/0.8842, allocations: 372.3 kB / 0.6534 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008196/0.8924, allocations: 4.783 MB / 0.658 GB, free: 120.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002143/0.8946, allocations: 2.549 MB / 0.6605 GB, free: 119.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.113e-06/0.8946, allocations: 0 / 0.6605 GB, free: 119.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04115/0.9358, allocations: 28.72 MB / 0.6886 GB, free: 118.3 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches