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_Initialize.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_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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 184.2 kB / 8.136 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.181/1.181, allocations: 221.4 MB / 230 MB, free: 3.055 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.0009321/0.0009323, allocations: 99.3 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.442e-06, allocations: 0 / 336.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.214, allocations: 50.38 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.3243, allocations: 108.9 MB / 495.8 MB, free: 9.879 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.3246, allocations: 97.02 kB / 495.9 MB, free: 9.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.2951/0.6197, allocations: 79.31 MB / 0.5617 GB, free: 47.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002815/0.62, allocations: 75.94 kB / 0.5618 GB, free: 47.38 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.008935/0.629, allocations: 3.227 MB / 0.5649 GB, free: 44.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.629, allocations: 8.031 kB / 0.5649 GB, free: 44.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004567/0.6336, allocations: 0.7373 MB / 0.5657 GB, free: 43.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008207/0.6418, allocations: 3.352 MB / 0.5689 GB, free: 39.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.642, allocations: 100 kB / 0.569 GB, free: 39.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009253/0.643, allocations: 191.8 kB / 0.5692 GB, free: 39.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006466/0.6494, allocations: 3.218 MB / 0.5723 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008023/0.6575, allocations: 3.68 MB / 0.5759 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.6576, allocations: 0 / 0.5759 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005676/0.6582, allocations: 7.984 kB / 0.5759 GB, free: 32.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.6583, allocations: 150.2 kB / 0.5761 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02057/0.6789, allocations: 13.01 MB / 0.5888 GB, free: 19.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.6804, allocations: 1.063 MB / 0.5898 GB, free: 18.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/0.6825, allocations: 1.372 MB / 0.5912 GB, free: 16.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005598/0.6881, allocations: 3.294 MB / 0.5944 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.6882, allocations: 51.88 kB / 0.5944 GB, free: 13.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 6.102e-06/0.6882, allocations: 0 / 0.5944 GB, free: 13.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=173): time 0.0113/0.6995, allocations: 5.551 MB / 0.5999 GB, free: 7.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.6996, allocations: 73.41 kB / 0.5999 GB, free: 7.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.702, allocations: 1.358 MB / 0.6013 GB, free: 6.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.7021, allocations: 25.7 kB / 0.6013 GB, free: 6.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/0.7027, allocations: 1.142 MB / 0.6024 GB, free: 4.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000401/0.7031, allocations: 0.5618 MB / 0.6029 GB, free: 4.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.7032, allocations: 4 kB / 0.603 GB, free: 4.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.7033, allocations: 373.9 kB / 0.6033 GB, free: 4.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.7045, allocations: 0.824 MB / 0.6041 GB, free: 3.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.7058, allocations: 1.288 MB / 0.6054 GB, free: 1.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.7075, allocations: 1.095 MB / 0.6064 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.7076, allocations: 4 kB / 0.6064 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005077/0.7126, allocations: 2.746 MB / 0.6091 GB, free: 13.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.7127, allocations: 4 kB / 0.6091 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.7127, allocations: 15.94 kB / 0.6091 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.7142, allocations: 0.4972 MB / 0.6096 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.7161, allocations: 439.4 kB / 0.61 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00794/0.724, allocations: 5.967 MB / 0.6159 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.7257, allocations: 43.88 kB / 0.6159 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.726, allocations: 84.08 kB / 0.616 GB, free: 6.559 MB / 394.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,(7,69.4%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003735/0.7264, allocations: 148.4 kB / 0.6161 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004955/0.7269, allocations: 189.7 kB / 0.6163 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004951/0.7318, allocations: 2.661 MB / 0.6189 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.7319, allocations: 23.89 kB / 0.6189 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.7319, allocations: 8 kB / 0.6189 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.7319, allocations: 7.969 kB / 0.619 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00987/0.7418, allocations: 5.714 MB / 0.6245 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.7418, allocations: 4 kB / 0.6245 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.7431, allocations: 267.8 kB / 0.6248 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.7445, allocations: 495.8 kB / 0.6253 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/0.7447, allocations: 15.98 kB / 0.6253 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009445/0.7541, allocations: 9.797 MB / 0.6349 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.7542, allocations: 3.938 kB / 0.6349 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006246/0.7604, allocations: 3.967 MB / 0.6387 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.7616, allocations: 466.7 kB / 0.6392 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004532/0.762, allocations: 11.91 kB / 0.6392 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.7633, allocations: 55.95 kB / 0.6392 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.7635, allocations: 93.84 kB / 0.6393 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/0.7636, allocations: 44 kB / 0.6394 GB, free: 13.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002012/0.7657, allocations: 1.023 MB / 0.6404 GB, free: 12.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002317/0.768, allocations: 0.5588 MB / 0.6409 GB, free: 12.07 MB / 426.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.stray.Phi.re,aimc.stator.stray.Phi.im,aimc.stator.zeroInductor.i0,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.0006289/0.7686, allocations: 343.1 kB / 0.6412 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004202/0.7728, allocations: 2.417 MB / 0.6436 GB, free: 9.297 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7728, allocations: 0.5 kB / 0.6436 GB, free: 9.297 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002427/0.7753, allocations: 1.644 MB / 0.6452 GB, free: 7.605 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.7771, allocations: 359.1 kB / 0.6456 GB, free: 7.254 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.7885, allocations: 4.956 MB / 0.6504 GB, free: 2.227 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1122/0.9008, allocations: 2.554 MB / 0.6529 GB, free: 124.6 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.9008, allocations: 3.906 kB / 0.6529 GB, free: 124.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04314/0.944, allocations: 29.21 MB / 0.6814 GB, free: 123.6 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches