Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") [: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.00159/0.00159, allocations: 180 kB / 8.479 MB, free: 1.891 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.468/1.468, allocations: 205.2 MB / 214.1 MB, free: 5.102 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.001084/0.001084, allocations: 91.66 kB / 262.1 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.829e-06/9.969e-06, allocations: 4 kB / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 47.57 MB / 362.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3131/0.4207, allocations: 109.6 MB / 472.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.421, allocations: 85.69 kB / 472.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2191/0.6401, allocations: 86.99 MB / 0.5461 GB, free: 15.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004836/0.6406, allocations: 91.88 kB / 0.5462 GB, free: 15.19 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01382/0.6545, allocations: 3.69 MB / 0.5498 GB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.6545, allocations: 8.031 kB / 0.5498 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006029/0.6606, allocations: 0.7952 MB / 0.5506 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.6723, allocations: 3.688 MB / 0.5542 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.6727, allocations: 120 kB / 0.5543 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002122/0.6748, allocations: 211.9 kB / 0.5545 GB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01197/0.6868, allocations: 3.873 MB / 0.5583 GB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.7006, allocations: 4.392 MB / 0.5626 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.7008, allocations: 3.984 kB / 0.5626 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/0.7018, allocations: 4 kB / 0.5626 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/0.702, allocations: 163.1 kB / 0.5627 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1945/0.8966, allocations: 15.39 MB / 0.5778 GB, free: 131.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.8985, allocations: 1.347 MB / 0.5791 GB, free: 131.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/0.9007, allocations: 1.696 MB / 0.5807 GB, free: 131.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006324/0.907, allocations: 4.141 MB / 0.5848 GB, free: 131 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.9071, allocations: 55.84 kB / 0.5848 GB, free: 131 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 3.357e-06/0.9071, allocations: 0 / 0.5848 GB, free: 131 MB / 426.7 MB Notification: Performance of matching and sorting (n=196): time 0.009858/0.917, allocations: 6.083 MB / 0.5908 GB, free: 130.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.917, allocations: 71.5 kB / 0.5908 GB, free: 130 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.9195, allocations: 1.589 MB / 0.5924 GB, free: 129.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.9197, allocations: 25.7 kB / 0.5924 GB, free: 129.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006015/0.9203, allocations: 1.264 MB / 0.5937 GB, free: 129.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004411/0.9207, allocations: 0.6325 MB / 0.5943 GB, free: 128.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/0.9208, allocations: 0 / 0.5943 GB, free: 128.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.921, allocations: 394.6 kB / 0.5946 GB, free: 128.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.9223, allocations: 1.006 MB / 0.5956 GB, free: 128.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.9237, allocations: 1.477 MB / 0.5971 GB, free: 128.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.9256, allocations: 1.29 MB / 0.5983 GB, free: 128.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.9256, allocations: 3.938 kB / 0.5983 GB, free: 128.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.00513/0.9308, allocations: 3.398 MB / 0.6017 GB, free: 127.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.9308, allocations: 3.906 kB / 0.6017 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.9308, allocations: 14.47 kB / 0.6017 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.9325, allocations: 0.7209 MB / 0.6024 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.9342, allocations: 419 kB / 0.6028 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009446/0.9437, allocations: 9.827 MB / 0.6124 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.9459, allocations: 53.42 kB / 0.6124 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.9461, allocations: 83.83 kB / 0.6125 GB, free: 122.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 216 * 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%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00045/0.9465, allocations: 152 kB / 0.6126 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005946/0.9471, allocations: 220.6 kB / 0.6129 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005865/0.953, allocations: 3.33 MB / 0.6161 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.953, allocations: 20.83 kB / 0.6161 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.028e-05/0.9531, allocations: 10.28 kB / 0.6161 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.9531, allocations: 11.48 kB / 0.6161 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.9658, allocations: 6.774 MB / 0.6228 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.9658, allocations: 5.688 kB / 0.6228 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.9669, allocations: 227.3 kB / 0.623 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.969, allocations: 0.8937 MB / 0.6239 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.9692, allocations: 21 kB / 0.6239 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/0.982, allocations: 13.93 MB / 0.6375 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.982, allocations: 5.094 kB / 0.6375 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007733/0.9898, allocations: 4.957 MB / 0.6423 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/0.9916, allocations: 0.5377 MB / 0.6429 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008453/0.9925, allocations: 13.7 kB / 0.6429 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.9942, allocations: 63.72 kB / 0.6429 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.9945, allocations: 120.8 kB / 0.643 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/0.9947, allocations: 51.95 kB / 0.6431 GB, free: 108.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002943/0.9977, allocations: 1.194 MB / 0.6443 GB, free: 108.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005007/1.003, allocations: 0.6551 MB / 0.6449 GB, free: 108.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 120 * 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%) 13,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/1.004, allocations: 344.2 kB / 0.6452 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006533/1.01, allocations: 3.098 MB / 0.6483 GB, free: 106.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.01, allocations: 0.7812 kB / 0.6483 GB, free: 106.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003531/1.014, allocations: 2.136 MB / 0.6503 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/1.017, allocations: 447.5 kB / 0.6508 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/1.031, allocations: 5.77 MB / 0.6564 GB, free: 103.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003608/1.034, allocations: 2.864 MB / 0.6592 GB, free: 102.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/1.034, allocations: 0 / 0.6592 GB, free: 102.2 MB / 426.7 MB Notification: Performance of Templates: time 0.06057/1.095, allocations: 35.89 MB / 0.6942 GB, free: 81.07 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD_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_YD/AIMC_YD.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches