Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.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.AIMS_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.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_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.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009352/0.0009352, allocations: 183.1 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 224.2 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000717/0.0007169, allocations: 87.86 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004316, allocations: 8 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2202, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2936/0.5139, allocations: 129.3 MB / 0.4944 GB, free: 109.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.5142, allocations: 86.14 kB / 0.4945 GB, free: 109.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3254/0.8396, allocations: 149.9 MB / 0.6409 GB, free: 8.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.8396, allocations: 0 / 0.6409 GB, free: 8.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007082/0.8403, allocations: 179.8 kB / 0.641 GB, free: 7.977 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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02201/0.8624, allocations: 7.197 MB / 0.6481 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.8624, allocations: 12.02 kB / 0.6481 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3584/1.221, allocations: 1.239 MB / 0.6493 GB, free: 33.99 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/1.233, allocations: 5.721 MB / 0.6549 GB, free: 33.46 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004457/1.233, allocations: 0.4944 MB / 0.6554 GB, free: 33.45 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002148/1.235, allocations: 0.6693 MB / 0.656 GB, free: 33.44 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/1.253, allocations: 9.396 MB / 0.6652 GB, free: 32.5 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001798/1.253, allocations: 18.06 kB / 0.6652 GB, free: 32.5 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000759/1.254, allocations: 289.1 kB / 0.6655 GB, free: 32.5 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000191/1.254, allocations: 297.1 kB / 0.6658 GB, free: 32.48 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/1.269, allocations: 7.679 MB / 0.6733 GB, free: 32.42 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05323/1.322, allocations: 29.5 MB / 0.7021 GB, free: 26.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/1.332, allocations: 11.88 MB / 0.7137 GB, free: 17.14 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00549/1.338, allocations: 3.373 MB / 0.717 GB, free: 15.96 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01661/1.355, allocations: 6.874 MB / 0.7237 GB, free: 12.74 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.495e-05/1.355, allocations: 74.95 kB / 0.7238 GB, free: 12.68 MB / 410.8 MB Notification: Performance of pre-optimization done (n=308): time 6.883e-06/1.355, allocations: 0 / 0.7238 GB, free: 12.68 MB / 410.8 MB Notification: Performance of matching and sorting (n=327): time 0.02943/1.384, allocations: 16.13 MB / 0.7395 GB, free: 5.074 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.384, allocations: 89.02 kB / 0.7396 GB, free: 5.008 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006274/1.391, allocations: 3.949 MB / 0.7435 GB, free: 3.547 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003061/1.391, allocations: 86.84 kB / 0.7435 GB, free: 3.473 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/1.392, allocations: 3.073 MB / 0.7465 GB, free: 1.145 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000763/1.393, allocations: 1.105 MB / 0.7476 GB, free: 296 kB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/1.393, allocations: 74.66 kB / 0.7477 GB, free: 236 kB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0002434/1.394, allocations: 456.1 kB / 0.7481 GB, free: 15.86 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/1.397, allocations: 1.879 MB / 0.75 GB, free: 15.18 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003844/1.401, allocations: 2.8 MB / 0.7527 GB, free: 13.42 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007005/1.408, allocations: 4.872 MB / 0.7575 GB, free: 10.73 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.777e-05/1.408, allocations: 7.625 kB / 0.7575 GB, free: 10.73 MB / 426.8 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01061/1.418, allocations: 6.401 MB / 0.7637 GB, free: 8.191 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/1.418, allocations: 17.31 kB / 0.7637 GB, free: 8.191 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.204e-05/1.419, allocations: 27.47 kB / 0.7638 GB, free: 8.191 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0027/1.421, allocations: 1.253 MB / 0.765 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003246/1.424, allocations: 0.8171 MB / 0.7658 GB, free: 7.734 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/1.443, allocations: 20.74 MB / 0.786 GB, free: 3.719 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003805/1.447, allocations: 205.4 kB / 0.7862 GB, free: 3.559 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005516/1.447, allocations: 155.1 kB / 0.7864 GB, free: 3.41 MB / 442.8 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 404 * 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.004647/1.452, allocations: 2.181 MB / 0.7885 GB, free: 1.566 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/1.453, allocations: 442.7 kB / 0.7889 GB, free: 1.129 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/1.468, allocations: 6.469 MB / 0.7952 GB, free: 12.75 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/1.468, allocations: 35.91 kB / 0.7953 GB, free: 12.71 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.84e-05/1.468, allocations: 16 kB / 0.7953 GB, free: 12.7 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/1.468, allocations: 14.11 kB / 0.7953 GB, free: 12.7 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02377/1.492, allocations: 12.47 MB / 0.8075 GB, free: 2.387 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.492, allocations: 4 kB / 0.8075 GB, free: 2.383 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.494, allocations: 462 kB / 0.8079 GB, free: 2.008 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003891/1.498, allocations: 1.612 MB / 0.8095 GB, free: 0.707 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004074/1.498, allocations: 72.3 kB / 0.8096 GB, free: 0.6445 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2339/1.732, allocations: 30.25 MB / 0.8391 GB, free: 53.68 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.732, allocations: 5.625 kB / 0.8391 GB, free: 53.68 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/1.744, allocations: 8.784 MB / 0.8477 GB, free: 52.69 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/1.746, allocations: 0.9244 MB / 0.8486 GB, free: 52.6 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000684/1.747, allocations: 70.83 kB / 0.8487 GB, free: 52.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/1.749, allocations: 200.5 kB / 0.8489 GB, free: 52.6 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007256/1.749, allocations: 291.4 kB / 0.8491 GB, free: 52.59 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/1.75, allocations: 85.72 kB / 0.8492 GB, free: 52.59 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004016/1.754, allocations: 2.674 MB / 0.8518 GB, free: 52.41 MB / 458.8 MB Notification: Performance of sort global known variables: time 3.7e-07/1.754, allocations: 0.5 kB / 0.8518 GB, free: 52.41 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005214/1.759, allocations: 1.382 MB / 0.8532 GB, free: 52.41 MB / 458.8 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (234): * Single equations (assignments): 217 * 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%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.0009955/1.76, allocations: 0.5197 MB / 0.8537 GB, free: 52.3 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.008893/1.769, allocations: 6.367 MB / 0.8599 GB, free: 50.67 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.769, allocations: 5.75 kB / 0.8599 GB, free: 50.67 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006027/1.775, allocations: 4.834 MB / 0.8646 GB, free: 48.73 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007801/1.783, allocations: 1.275 MB / 0.8659 GB, free: 48.71 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/1.803, allocations: 15.8 MB / 0.8813 GB, free: 42.26 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004647/1.808, allocations: 4.487 MB / 0.8857 GB, free: 41.35 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004368/1.812, allocations: 1.045 MB / 0.8867 GB, free: 41.24 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008085/1.813, allocations: 278.8 kB / 0.887 GB, free: 41.23 MB / 458.8 MB Notification: Performance of SimCode: time 9.71e-07/1.813, allocations: 0 / 0.887 GB, free: 41.23 MB / 458.8 MB Notification: Performance of Templates: time 0.1123/1.926, allocations: 73.63 MB / 0.9589 GB, free: 11.71 MB / 458.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMS_Start/AIMS_Start.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches