Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [: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 trunk/package.mo): time 0.001045/0.001045, allocations: 199.2 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009372/0.0009373, allocations: 97.77 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.272e-06, allocations: 0 / 343.2 MB, free: 8.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 51.48 MB / 394.6 MB, free: 5.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2789/0.3855, allocations: 109.9 MB / 0.4927 GB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.3858, allocations: 93.25 kB / 0.4928 GB, free: 15.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.1943/0.5802, allocations: 82.53 MB / 0.5734 GB, free: 1.719 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002102/0.5804, allocations: 75.94 kB / 0.5735 GB, free: 1.645 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.1492/0.7296, allocations: 3.239 MB / 0.5766 GB, free: 120.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.7297, allocations: 9.438 kB / 0.5766 GB, free: 120.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.7342, allocations: 0.7746 MB / 0.5774 GB, free: 120.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00718/0.7414, allocations: 3.385 MB / 0.5807 GB, free: 120.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.7415, allocations: 99.28 kB / 0.5808 GB, free: 120.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005718/0.7421, allocations: 191.8 kB / 0.581 GB, free: 120.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00521/0.7473, allocations: 3.218 MB / 0.5841 GB, free: 120.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.7527, allocations: 3.686 MB / 0.5877 GB, free: 120 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-05/0.7528, allocations: 3.938 kB / 0.5877 GB, free: 120 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/0.7531, allocations: 3.188 kB / 0.5877 GB, free: 120 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.7532, allocations: 143.2 kB / 0.5879 GB, free: 120 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01749/0.7707, allocations: 13.11 MB / 0.6006 GB, free: 117.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.7719, allocations: 1.058 MB / 0.6017 GB, free: 117.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.7737, allocations: 1.379 MB / 0.603 GB, free: 117.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004647/0.7784, allocations: 3.551 MB / 0.6065 GB, free: 116.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.7784, allocations: 54.72 kB / 0.6065 GB, free: 116.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 3.297e-06/0.7784, allocations: 0 / 0.6065 GB, free: 116.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=173): time 0.009841/0.7883, allocations: 5.556 MB / 0.612 GB, free: 115.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.7883, allocations: 69.75 kB / 0.612 GB, free: 115.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.7902, allocations: 1.375 MB / 0.6134 GB, free: 115.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.464e-05/0.7903, allocations: 29.58 kB / 0.6134 GB, free: 115.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/0.7908, allocations: 1.144 MB / 0.6145 GB, free: 114.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.7912, allocations: 0.5596 MB / 0.6151 GB, free: 114 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.7913, allocations: 0 / 0.6151 GB, free: 114 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7914, allocations: 383.8 kB / 0.6154 GB, free: 113.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.7924, allocations: 0.8234 MB / 0.6162 GB, free: 113.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.7937, allocations: 1.278 MB / 0.6175 GB, free: 112.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.7953, allocations: 1.108 MB / 0.6186 GB, free: 112 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.7953, allocations: 3.719 kB / 0.6186 GB, free: 112 MB / 442.7 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.004331/0.7997, allocations: 2.751 MB / 0.6213 GB, free: 111 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7997, allocations: 7.75 kB / 0.6213 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.7997, allocations: 17.56 kB / 0.6213 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.801, allocations: 0.4958 MB / 0.6218 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.8027, allocations: 437.2 kB / 0.6222 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00654/0.8093, allocations: 5.927 MB / 0.628 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.8111, allocations: 40.33 kB / 0.628 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.8112, allocations: 80.47 kB / 0.6281 GB, free: 106.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(8,56.2%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003088/0.8116, allocations: 153.5 kB / 0.6282 GB, free: 106.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.8118, allocations: 192 kB / 0.6284 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/0.8169, allocations: 2.659 MB / 0.631 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.8169, allocations: 15.91 kB / 0.631 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.817, allocations: 6.5 kB / 0.631 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.817, allocations: 9.984 kB / 0.6311 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008432/0.8254, allocations: 5.734 MB / 0.6367 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.8255, allocations: 3.062 kB / 0.6367 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.8267, allocations: 265.2 kB / 0.6369 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.8279, allocations: 0.489 MB / 0.6374 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.8281, allocations: 19.66 kB / 0.6374 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007456/0.8355, allocations: 9.792 MB / 0.647 GB, free: 94.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.8356, allocations: 3.703 kB / 0.647 GB, free: 94.42 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005356/0.8409, allocations: 3.978 MB / 0.6509 GB, free: 92.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000999/0.8419, allocations: 479.3 kB / 0.6513 GB, free: 92.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/0.8423, allocations: 8.562 kB / 0.6513 GB, free: 92.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.8433, allocations: 50.84 kB / 0.6514 GB, free: 92.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.8435, allocations: 89.22 kB / 0.6515 GB, free: 92.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.8436, allocations: 47.88 kB / 0.6515 GB, free: 92.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001675/0.8453, allocations: 1.034 MB / 0.6525 GB, free: 91.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002396/0.8477, allocations: 0.5756 MB / 0.6531 GB, free: 91.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005783/0.8483, allocations: 367 kB / 0.6534 GB, free: 91.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003926/0.8523, allocations: 2.419 MB / 0.6558 GB, free: 90.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8523, allocations: 3.219 kB / 0.6558 GB, free: 90.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.8543, allocations: 1.65 MB / 0.6574 GB, free: 89.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.8562, allocations: 356.8 kB / 0.6577 GB, free: 89.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008708/0.8649, allocations: 5 MB / 0.6626 GB, free: 87.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/0.8671, allocations: 2.563 MB / 0.6651 GB, free: 86.28 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.8671, allocations: 0 / 0.6651 GB, free: 86.28 MB / 442.7 MB Notification: Performance of Templates: time 0.04651/0.9136, allocations: 29.59 MB / 0.694 GB, free: 79.55 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches