Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [: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.001136/0.001136, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009099/0.0009095, allocations: 101.2 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.761e-06/5.881e-06, allocations: 0 / 343.2 MB, free: 8.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.0929, allocations: 51.47 MB / 394.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2974/0.3904, allocations: 130.8 MB / 0.5131 GB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.3907, allocations: 95.45 kB / 0.5132 GB, free: 11.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.5084/0.8991, allocations: 152.5 MB / 0.6621 GB, free: 68.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007732/0.8999, allocations: 179.6 kB / 0.6623 GB, free: 68.21 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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02429/0.9242, allocations: 6.613 MB / 0.6688 GB, free: 65.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.9243, allocations: 9.812 kB / 0.6688 GB, free: 65.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.9359, allocations: 1.289 MB / 0.67 GB, free: 64.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02222/0.9582, allocations: 6.306 MB / 0.6762 GB, free: 61.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004611/0.9587, allocations: 219.7 kB / 0.6764 GB, free: 61.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002491/0.9612, allocations: 407.9 kB / 0.6768 GB, free: 61.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02102/0.9822, allocations: 7.167 MB / 0.6838 GB, free: 57.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02498/1.007, allocations: 8.288 MB / 0.6919 GB, free: 49.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001978/1.008, allocations: 15.84 kB / 0.6919 GB, free: 49.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008174/1.008, allocations: 8 kB / 0.6919 GB, free: 49.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/1.009, allocations: 297.4 kB / 0.6922 GB, free: 49.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04763/1.056, allocations: 28.53 MB / 0.7201 GB, free: 20.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003498/1.06, allocations: 2.465 MB / 0.7225 GB, free: 17.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004507/1.064, allocations: 3.387 MB / 0.7258 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/1.077, allocations: 7.229 MB / 0.7328 GB, free: 6.926 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.077, allocations: 73.33 kB / 0.7329 GB, free: 6.844 MB / 442.7 MB Notification: Performance of pre-optimization done (n=351): time 6.442e-06/1.077, allocations: 4 kB / 0.7329 GB, free: 6.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=370): time 0.1669/1.244, allocations: 11.84 MB / 0.7445 GB, free: 97.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.244, allocations: 90.78 kB / 0.7445 GB, free: 97.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004154/1.248, allocations: 2.847 MB / 0.7473 GB, free: 97.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005696/1.249, allocations: 28.95 kB / 0.7474 GB, free: 97.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.25, allocations: 2.372 MB / 0.7497 GB, free: 96.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009511/1.251, allocations: 1.186 MB / 0.7508 GB, free: 95.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/1.251, allocations: 2.25 kB / 0.7508 GB, free: 95.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/1.251, allocations: 470.6 kB / 0.7513 GB, free: 94.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/1.253, allocations: 1.967 MB / 0.7532 GB, free: 94.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/1.256, allocations: 2.869 MB / 0.756 GB, free: 93.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/1.26, allocations: 2.48 MB / 0.7584 GB, free: 93.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/1.26, allocations: 6.781 kB / 0.7584 GB, free: 93.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=524) (initialization): time 0.009419/1.269, allocations: 6.42 MB / 0.7647 GB, free: 93.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.269, allocations: 8.312 kB / 0.7647 GB, free: 93.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.662e-05/1.269, allocations: 27.22 kB / 0.7647 GB, free: 93.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/1.272, allocations: 1.248 MB / 0.766 GB, free: 93.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/1.275, allocations: 0.8777 MB / 0.7668 GB, free: 93.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.289, allocations: 19.5 MB / 0.7859 GB, free: 79.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/1.293, allocations: 110.7 kB / 0.786 GB, free: 79.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006381/1.293, allocations: 165.3 kB / 0.7861 GB, free: 79.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (461): * Single equations (assignments): 447 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007428/1.294, allocations: 203.4 kB / 0.7863 GB, free: 79.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008151/1.295, allocations: 420.7 kB / 0.7867 GB, free: 79.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008989/1.304, allocations: 6.268 MB / 0.7928 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/1.304, allocations: 36.44 kB / 0.7929 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.112e-05/1.304, allocations: 15.84 kB / 0.7929 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/1.304, allocations: 19.23 kB / 0.7929 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/1.322, allocations: 12.4 MB / 0.805 GB, free: 76.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/1.322, allocations: 2.672 kB / 0.805 GB, free: 76.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.324, allocations: 0.5176 MB / 0.8055 GB, free: 76.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/1.328, allocations: 1.584 MB / 0.8071 GB, free: 75.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003502/1.328, allocations: 34.09 kB / 0.8071 GB, free: 75.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/1.348, allocations: 28.41 MB / 0.8349 GB, free: 52.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.348, allocations: 3.969 kB / 0.8349 GB, free: 52.49 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01181/1.36, allocations: 9.534 MB / 0.8442 GB, free: 48.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002195/1.362, allocations: 0.9245 MB / 0.8451 GB, free: 47.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007593/1.363, allocations: 11.75 kB / 0.8451 GB, free: 47.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/1.365, allocations: 138.1 kB / 0.8452 GB, free: 47.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/1.365, allocations: 223.1 kB / 0.8454 GB, free: 47.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/1.365, allocations: 100.2 kB / 0.8455 GB, free: 47.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002699/1.368, allocations: 2.117 MB / 0.8476 GB, free: 46.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004461/1.373, allocations: 1.24 MB / 0.8488 GB, free: 46.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (277): * Single equations (assignments): 260 * 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: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008704/1.373, allocations: 492.7 kB / 0.8493 GB, free: 46.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007761/1.381, allocations: 6.318 MB / 0.8554 GB, free: 43.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.381, allocations: 0 / 0.8554 GB, free: 43.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005179/1.386, allocations: 4.564 MB / 0.8599 GB, free: 40.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004472/1.391, allocations: 0.9232 MB / 0.8608 GB, free: 40.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/1.411, allocations: 11.26 MB / 0.8718 GB, free: 36.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005274/1.416, allocations: 4.862 MB / 0.8765 GB, free: 34.52 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/1.416, allocations: 5.484 kB / 0.8765 GB, free: 34.52 MB / 442.7 MB Notification: Performance of Templates: time 0.2486/1.664, allocations: 67.18 MB / 0.9422 GB, free: 82.16 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches