Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001744/0.001744, allocations: 171.8 kB / 14.1 MB, free: 1.223 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.54/1.54, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009457/0.0009456, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.494e-05/2.495e-05, allocations: 0 / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.0846, allocations: 47.58 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.3937, allocations: 122.2 MB / 492.2 MB, free: 3.777 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.394, allocations: 83.95 kB / 492.3 MB, free: 3.734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5786/0.9726, allocations: 117.5 MB / 0.5955 GB, free: 57.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.9727, allocations: 0 / 0.5955 GB, free: 57.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004848/0.9732, allocations: 124.4 kB / 0.5956 GB, free: 57.51 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01754/0.9907, allocations: 4.92 MB / 0.6004 GB, free: 55.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.9908, allocations: 14.7 kB / 0.6004 GB, free: 55.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006639/0.9974, allocations: 0.9949 MB / 0.6014 GB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/1.009, allocations: 4.59 MB / 0.6059 GB, free: 51.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003944/1.01, allocations: 387.9 kB / 0.6063 GB, free: 51.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/1.012, allocations: 0.5115 MB / 0.6068 GB, free: 51.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/1.028, allocations: 6.73 MB / 0.6133 GB, free: 47.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/1.028, allocations: 11.38 kB / 0.6134 GB, free: 47.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000649/1.029, allocations: 216.9 kB / 0.6136 GB, free: 47.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/1.029, allocations: 230.6 kB / 0.6138 GB, free: 47.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/1.04, allocations: 5.431 MB / 0.6191 GB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03879/1.079, allocations: 21.43 MB / 0.64 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006402/1.085, allocations: 8.675 MB / 0.6485 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002933/1.088, allocations: 2.203 MB / 0.6506 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/1.099, allocations: 6.169 MB / 0.6567 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/1.099, allocations: 64.55 kB / 0.6567 GB, free: 8.641 MB / 410.7 MB Notification: Performance of pre-optimization done (n=220): time 4.158e-06/1.099, allocations: 0 / 0.6567 GB, free: 8.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=239): time 0.01687/1.116, allocations: 8.97 MB / 0.6655 GB, free: 15.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/1.116, allocations: 81.41 kB / 0.6656 GB, free: 15.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004807/1.12, allocations: 2.586 MB / 0.6681 GB, free: 12.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004922/1.121, allocations: 69.7 kB / 0.6681 GB, free: 12.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/1.123, allocations: 2.299 MB / 0.6704 GB, free: 10.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/1.124, allocations: 0.8148 MB / 0.6712 GB, free: 9.691 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/1.124, allocations: 59.94 kB / 0.6712 GB, free: 9.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000248/1.125, allocations: 419.9 kB / 0.6716 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/1.127, allocations: 1.294 MB / 0.6729 GB, free: 7.922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/1.129, allocations: 2.046 MB / 0.6749 GB, free: 5.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/1.132, allocations: 1.646 MB / 0.6765 GB, free: 3.879 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/1.132, allocations: 8 kB / 0.6765 GB, free: 3.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007991/1.14, allocations: 4.527 MB / 0.6809 GB, free: 15.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/1.14, allocations: 16 kB / 0.681 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/1.14, allocations: 20 kB / 0.681 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/1.142, allocations: 0.7656 MB / 0.6817 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/1.145, allocations: 0.6357 MB / 0.6823 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2907/1.435, allocations: 13.35 MB / 0.6954 GB, free: 90.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003454/1.439, allocations: 153.3 kB / 0.6955 GB, free: 90.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000497/1.439, allocations: 119.5 kB / 0.6956 GB, free: 90.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * 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: 7 * 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: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006401/1.44, allocations: 281.3 kB / 0.6959 GB, free: 90.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007687/1.441, allocations: 321.8 kB / 0.6962 GB, free: 90.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007753/1.449, allocations: 4.11 MB / 0.7002 GB, free: 90.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/1.449, allocations: 23.64 kB / 0.7003 GB, free: 90.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/1.449, allocations: 15.5 kB / 0.7003 GB, free: 90.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/1.449, allocations: 12.19 kB / 0.7003 GB, free: 90.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/1.466, allocations: 9.029 MB / 0.7091 GB, free: 89.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.466, allocations: 5.531 kB / 0.7091 GB, free: 89.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.467, allocations: 387.5 kB / 0.7095 GB, free: 89.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002395/1.47, allocations: 0.9217 MB / 0.7104 GB, free: 89.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/1.47, allocations: 70.52 kB / 0.7104 GB, free: 89.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/1.485, allocations: 16.48 MB / 0.7265 GB, free: 79.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.485, allocations: 4.312 kB / 0.7265 GB, free: 79.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009179/1.494, allocations: 6.268 MB / 0.7327 GB, free: 78.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.496, allocations: 0.7006 MB / 0.7334 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005387/1.497, allocations: 60.53 kB / 0.7334 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/1.498, allocations: 141.6 kB / 0.7335 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/1.499, allocations: 198.2 kB / 0.7337 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/1.499, allocations: 68 kB / 0.7338 GB, free: 78.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002867/1.502, allocations: 1.969 MB / 0.7357 GB, free: 77.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.502, allocations: 0 / 0.7357 GB, free: 77.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004101/1.506, allocations: 1.017 MB / 0.7367 GB, free: 77.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(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.0008693/1.507, allocations: 491.9 kB / 0.7372 GB, free: 77.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005385/1.512, allocations: 4.454 MB / 0.7415 GB, free: 75.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.512, allocations: 0 / 0.7415 GB, free: 75.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003735/1.516, allocations: 2.984 MB / 0.7444 GB, free: 73.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004903/1.521, allocations: 0.8388 MB / 0.7453 GB, free: 73.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/1.538, allocations: 8.265 MB / 0.7533 GB, free: 70.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003522/1.541, allocations: 3.523 MB / 0.7568 GB, free: 68.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003239/1.544, allocations: 0.7665 MB / 0.7575 GB, free: 68.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007071/1.545, allocations: 204.8 kB / 0.7577 GB, free: 68.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.233e-06/1.545, allocations: 3.312 kB / 0.7577 GB, free: 68.8 MB / 442.7 MB Notification: Performance of Templates: time 0.08298/1.628, allocations: 51.12 MB / 0.8076 GB, free: 48.16 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches