Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") [: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 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 178.7 kB / 8.476 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.2 MB / 214.1 MB, free: 5.172 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009825/0.0009825, allocations: 98.19 kB / 262.1 MB, free: 5.191 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.312e-06/6.342e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08109/0.08111, allocations: 47.57 MB / 362.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.249/0.3302, allocations: 108.8 MB / 471.4 MB, free: 308 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3304, allocations: 81.27 kB / 471.5 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd: time 0.1866/0.517, allocations: 79.34 MB / 0.5379 GB, free: 7.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002163/0.5173, allocations: 80.11 kB / 0.538 GB, free: 7.703 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.008048/0.5253, allocations: 3.215 MB / 0.5411 GB, free: 4.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.5254, allocations: 11.97 kB / 0.5411 GB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/0.5299, allocations: 0.7412 MB / 0.5418 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008385/0.5383, allocations: 3.304 MB / 0.5451 GB, free: 312 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.5385, allocations: 111.9 kB / 0.5452 GB, free: 200 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005847/0.5391, allocations: 191.9 kB / 0.5454 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006357/0.5454, allocations: 3.199 MB / 0.5485 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006855/0.5523, allocations: 3.716 MB / 0.5521 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.057e-05/0.5524, allocations: 7.984 kB / 0.5521 GB, free: 8.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.5527, allocations: 0 / 0.5521 GB, free: 8.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.5529, allocations: 150.4 kB / 0.5523 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/0.5751, allocations: 13.36 MB / 0.5653 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.5769, allocations: 1.158 MB / 0.5665 GB, free: 9.941 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002123/0.579, allocations: 1.348 MB / 0.5678 GB, free: 8.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005955/0.585, allocations: 3.408 MB / 0.5711 GB, free: 5.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.585, allocations: 52.56 kB / 0.5711 GB, free: 5.031 MB / 426.7 MB Notification: Performance of pre-optimization done (n=171): time 3.396e-06/0.5851, allocations: 0 / 0.5711 GB, free: 5.031 MB / 426.7 MB Notification: Performance of matching and sorting (n=174): time 0.009117/0.5942, allocations: 4.742 MB / 0.5758 GB, free: 196 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.5942, allocations: 77.31 kB / 0.5759 GB, free: 104 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1046/0.6989, allocations: 1.252 MB / 0.5771 GB, free: 138.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.6991, allocations: 25.7 kB / 0.5771 GB, free: 138.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.6995, allocations: 1.15 MB / 0.5782 GB, free: 138.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.6998, allocations: 0.5623 MB / 0.5788 GB, free: 138.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.558e-05/0.6999, allocations: 5.844 kB / 0.5788 GB, free: 138.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.7, allocations: 383.1 kB / 0.5791 GB, free: 138 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009357/0.7009, allocations: 0.7586 MB / 0.5799 GB, free: 138 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.702, allocations: 1.223 MB / 0.5811 GB, free: 137.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.7035, allocations: 1.035 MB / 0.5821 GB, free: 137.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.7035, allocations: 3.781 kB / 0.5821 GB, free: 137.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=252) (initialization): time 0.003616/0.7071, allocations: 2.647 MB / 0.5847 GB, free: 137.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.7071, allocations: 11.16 kB / 0.5847 GB, free: 137.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.7071, allocations: 12.78 kB / 0.5847 GB, free: 137.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007717/0.7079, allocations: 388.4 kB / 0.5851 GB, free: 137.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.7095, allocations: 433.8 kB / 0.5855 GB, free: 137.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004922/0.7144, allocations: 7.395 MB / 0.5927 GB, free: 132.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7157, allocations: 37.72 kB / 0.5927 GB, free: 132.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.7158, allocations: 79.91 kB / 0.5928 GB, free: 132.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 214 * 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: 4 * 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: 4 {(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002599/0.7161, allocations: 157.7 kB / 0.593 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.7163, allocations: 181.4 kB / 0.5931 GB, free: 132 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003899/0.7202, allocations: 2.532 MB / 0.5956 GB, free: 131.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.7203, allocations: 16 kB / 0.5956 GB, free: 131.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.7203, allocations: 7.25 kB / 0.5956 GB, free: 131.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.7203, allocations: 7.359 kB / 0.5956 GB, free: 131.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007967/0.7283, allocations: 5.395 MB / 0.6009 GB, free: 130.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.7283, allocations: 6.844 kB / 0.6009 GB, free: 130.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.7294, allocations: 230 kB / 0.6011 GB, free: 130.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.7308, allocations: 0.5409 MB / 0.6017 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.731, allocations: 22.69 kB / 0.6017 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009148/0.7401, allocations: 11.5 MB / 0.6129 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7402, allocations: 3.094 kB / 0.6129 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005049/0.7453, allocations: 3.706 MB / 0.6165 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008587/0.7461, allocations: 444.8 kB / 0.617 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.7464, allocations: 14.25 kB / 0.617 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/0.7473, allocations: 47.81 kB / 0.617 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.7475, allocations: 99.89 kB / 0.6171 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.424e-05/0.7476, allocations: 43.39 kB / 0.6172 GB, free: 122.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001142/0.7488, allocations: 0.9458 MB / 0.6181 GB, free: 122.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001917/0.7507, allocations: 0.5529 MB / 0.6186 GB, free: 122.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 115 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 8,(1,100.0%) 1,(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.0004446/0.7512, allocations: 342.3 kB / 0.619 GB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002748/0.7539, allocations: 2.449 MB / 0.6213 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.7539, allocations: 0 / 0.6213 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.7558, allocations: 1.691 MB / 0.623 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.7574, allocations: 371.8 kB / 0.6234 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007915/0.7653, allocations: 4.898 MB / 0.6281 GB, free: 119.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/0.7673, allocations: 2.497 MB / 0.6306 GB, free: 119 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.7673, allocations: 0 / 0.6306 GB, free: 119 MB / 426.7 MB Notification: Performance of Templates: time 0.04251/0.8099, allocations: 29.16 MB / 0.6591 GB, free: 113.2 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches