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.001353/0.001353, allocations: 176.8 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.3 MB / 214.4 MB, free: 1.734 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.001379/0.001379, allocations: 74.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.777e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.08954, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.4538, allocations: 121.7 MB / 484.8 MB, free: 6.578 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4541, allocations: 92.28 kB / 484.9 MB, free: 6.531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4955/0.9496, allocations: 116 MB / 0.5868 GB, free: 88.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.9497, allocations: 0 / 0.5868 GB, free: 88.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004872/0.9502, allocations: 133.2 kB / 0.587 GB, free: 88.45 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.01584/0.966, allocations: 4.918 MB / 0.5918 GB, free: 86.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.9661, allocations: 9.094 kB / 0.5918 GB, free: 86.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005628/0.9717, allocations: 1.001 MB / 0.5928 GB, free: 85.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.9831, allocations: 4.579 MB / 0.5972 GB, free: 83.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.9834, allocations: 165.9 kB / 0.5974 GB, free: 83.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/0.9852, allocations: 313 kB / 0.5977 GB, free: 83.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01216/0.9973, allocations: 5.139 MB / 0.6027 GB, free: 81.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/1.013, allocations: 5.982 MB / 0.6086 GB, free: 76.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003088/1.013, allocations: 15.75 kB / 0.6086 GB, free: 76.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001452/1.015, allocations: 4 kB / 0.6086 GB, free: 76.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002165/1.015, allocations: 232.6 kB / 0.6088 GB, free: 75.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03629/1.051, allocations: 20.45 MB / 0.6288 GB, free: 55.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006744/1.058, allocations: 8.543 MB / 0.6371 GB, free: 45.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/1.061, allocations: 2.117 MB / 0.6392 GB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009531/1.071, allocations: 5.991 MB / 0.645 GB, free: 37.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/1.071, allocations: 68.5 kB / 0.6451 GB, free: 37.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=220): time 4.769e-06/1.071, allocations: 0 / 0.6451 GB, free: 37.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=239): time 0.0135/1.084, allocations: 8.203 MB / 0.6531 GB, free: 29.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/1.084, allocations: 73.41 kB / 0.6532 GB, free: 29.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/1.088, allocations: 2.117 MB / 0.6552 GB, free: 26.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003156/1.088, allocations: 29.7 kB / 0.6553 GB, free: 26.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/1.09, allocations: 2.309 MB / 0.6575 GB, free: 24.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000666/1.09, allocations: 0.7852 MB / 0.6583 GB, free: 23.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/1.091, allocations: 0 / 0.6583 GB, free: 23.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/1.091, allocations: 415.9 kB / 0.6587 GB, free: 23.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/1.092, allocations: 1.247 MB / 0.6599 GB, free: 22.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/1.094, allocations: 1.976 MB / 0.6618 GB, free: 19.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/1.097, allocations: 1.724 MB / 0.6635 GB, free: 18.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/1.097, allocations: 4 kB / 0.6635 GB, free: 18.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006419/1.103, allocations: 4.34 MB / 0.6678 GB, free: 13.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/1.103, allocations: 16 kB / 0.6678 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/1.103, allocations: 24.66 kB / 0.6678 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/1.105, allocations: 0.7422 MB / 0.6685 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/1.107, allocations: 0.6396 MB / 0.6691 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008915/1.116, allocations: 12.79 MB / 0.6816 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/1.119, allocations: 99.78 kB / 0.6817 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005248/1.119, allocations: 124 kB / 0.6819 GB, free: 14.4 MB / 426.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.0007851/1.12, allocations: 176.2 kB / 0.682 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008616/1.121, allocations: 300.4 kB / 0.6823 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007488/1.128, allocations: 4.011 MB / 0.6862 GB, free: 9.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/1.128, allocations: 31.92 kB / 0.6863 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/1.128, allocations: 8.188 kB / 0.6863 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/1.128, allocations: 15.91 kB / 0.6863 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.143, allocations: 8.277 MB / 0.6944 GB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.143, allocations: 7.984 kB / 0.6944 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/1.145, allocations: 380 kB / 0.6947 GB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/1.147, allocations: 0.9134 MB / 0.6956 GB, free: 68 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002357/1.147, allocations: 31.97 kB / 0.6957 GB, free: 36 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2592/1.406, allocations: 15.82 MB / 0.7111 GB, free: 83.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.407, allocations: 5.938 kB / 0.7111 GB, free: 83.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0091/1.416, allocations: 6.163 MB / 0.7171 GB, free: 82.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/1.417, allocations: 0.6588 MB / 0.7178 GB, free: 82.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/1.418, allocations: 19.84 kB / 0.7178 GB, free: 82.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/1.42, allocations: 104.8 kB / 0.7179 GB, free: 82.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005385/1.42, allocations: 199.4 kB / 0.7181 GB, free: 82.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/1.42, allocations: 71.14 kB / 0.7181 GB, free: 82.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002591/1.423, allocations: 1.576 MB / 0.7197 GB, free: 81.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.423, allocations: 0 / 0.7197 GB, free: 81.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003654/1.427, allocations: 0.8935 MB / 0.7206 GB, free: 81.86 MB / 426.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.0007832/1.427, allocations: 405 kB / 0.7209 GB, free: 81.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005386/1.433, allocations: 4.259 MB / 0.7251 GB, free: 80.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.433, allocations: 7.219 kB / 0.7251 GB, free: 80.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003727/1.436, allocations: 2.872 MB / 0.7279 GB, free: 79.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/1.44, allocations: 0.6264 MB / 0.7285 GB, free: 79.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.457, allocations: 8.083 MB / 0.7364 GB, free: 77.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003228/1.46, allocations: 3.519 MB / 0.7399 GB, free: 76.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002909/1.463, allocations: 0.7188 MB / 0.7406 GB, free: 76.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/1.464, allocations: 193.1 kB / 0.7407 GB, free: 76.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/1.464, allocations: 0 / 0.7407 GB, free: 76.75 MB / 426.7 MB Notification: Performance of Templates: time 0.07293/1.537, allocations: 40.24 MB / 0.78 GB, free: 66.93 MB / 426.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