Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 221.5 MB / 230.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.0009473, allocations: 92.36 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.928e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 50.41 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.459, allocations: 108.9 MB / 496.4 MB, free: 1.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.4593, allocations: 91.92 kB / 496.5 MB, free: 1.801 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3987/0.8581, allocations: 79.5 MB / 0.5625 GB, free: 95.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.8581, allocations: 0 / 0.5625 GB, free: 95.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002358/0.8584, allocations: 78.3 kB / 0.5626 GB, free: 95.08 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.008653/0.867, allocations: 3.218 MB / 0.5657 GB, free: 93.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.8671, allocations: 9.594 kB / 0.5657 GB, free: 93.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004527/0.8716, allocations: 0.7303 MB / 0.5664 GB, free: 93.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008151/0.8798, allocations: 3.331 MB / 0.5697 GB, free: 93.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.88, allocations: 104.3 kB / 0.5698 GB, free: 93.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007558/0.8808, allocations: 190.7 kB / 0.57 GB, free: 93.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00734/0.8881, allocations: 3.162 MB / 0.573 GB, free: 93.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007781/0.8959, allocations: 3.642 MB / 0.5766 GB, free: 92.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.219e-05/0.8961, allocations: 3.656 kB / 0.5766 GB, free: 92.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/0.8963, allocations: 3.875 kB / 0.5766 GB, free: 92.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.8965, allocations: 141.9 kB / 0.5767 GB, free: 92.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/0.9147, allocations: 12.95 MB / 0.5894 GB, free: 88.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004514/0.9192, allocations: 6.737 MB / 0.596 GB, free: 82.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.9208, allocations: 1.304 MB / 0.5972 GB, free: 81.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005983/0.9268, allocations: 3.512 MB / 0.6007 GB, free: 79.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.9269, allocations: 50.09 kB / 0.6007 GB, free: 79.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 3.897e-06/0.9269, allocations: 0 / 0.6007 GB, free: 79.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=142): time 0.008975/0.9359, allocations: 5.192 MB / 0.6058 GB, free: 77.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.936, allocations: 70.62 kB / 0.6059 GB, free: 77.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.9377, allocations: 1.341 MB / 0.6072 GB, free: 76.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.743e-05/0.9378, allocations: 29.36 kB / 0.6072 GB, free: 76.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000561/0.9384, allocations: 1.428 MB / 0.6086 GB, free: 75.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.9386, allocations: 469.3 kB / 0.609 GB, free: 75.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.148e-05/0.9387, allocations: 0 / 0.609 GB, free: 75.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.065e-05/0.9388, allocations: 369.8 kB / 0.6094 GB, free: 75.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000781/0.9396, allocations: 0.6801 MB / 0.6101 GB, free: 74.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008979/0.9405, allocations: 1.126 MB / 0.6112 GB, free: 73.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.9419, allocations: 1.018 MB / 0.6121 GB, free: 73.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.9419, allocations: 7.438 kB / 0.6122 GB, free: 73.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003668/0.9456, allocations: 2.5 MB / 0.6146 GB, free: 72.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.9456, allocations: 11.28 kB / 0.6146 GB, free: 72.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.9456, allocations: 14.69 kB / 0.6146 GB, free: 72.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.9468, allocations: 487.5 kB / 0.6151 GB, free: 72.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.9481, allocations: 387.6 kB / 0.6155 GB, free: 72.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005835/0.9539, allocations: 6.135 MB / 0.6214 GB, free: 67.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.9554, allocations: 48.58 kB / 0.6215 GB, free: 67.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.9555, allocations: 71.5 kB / 0.6216 GB, free: 67.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,67.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.9558, allocations: 148 kB / 0.6217 GB, free: 67.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.956, allocations: 180.7 kB / 0.6219 GB, free: 67.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/0.9597, allocations: 2.401 MB / 0.6242 GB, free: 66.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.9598, allocations: 15.08 kB / 0.6242 GB, free: 66.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.9598, allocations: 13.94 kB / 0.6242 GB, free: 66.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.9598, allocations: 7.125 kB / 0.6243 GB, free: 66.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006703/0.9665, allocations: 4.955 MB / 0.6291 GB, free: 64.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.9665, allocations: 0 / 0.6291 GB, free: 64.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008708/0.9674, allocations: 222 kB / 0.6293 GB, free: 64.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.9685, allocations: 491.8 kB / 0.6298 GB, free: 63.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/0.9685, allocations: 14.75 kB / 0.6298 GB, free: 63.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006557/0.9751, allocations: 10.02 MB / 0.6396 GB, free: 55.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9751, allocations: 0 / 0.6396 GB, free: 55.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/0.9793, allocations: 3.511 MB / 0.643 GB, free: 53.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007437/0.9801, allocations: 435.4 kB / 0.6434 GB, free: 52.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.9803, allocations: 8 kB / 0.6434 GB, free: 52.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/0.9812, allocations: 54.53 kB / 0.6435 GB, free: 52.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.9814, allocations: 109.7 kB / 0.6436 GB, free: 52.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.421e-05/0.9815, allocations: 43.47 kB / 0.6436 GB, free: 52.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0012/0.9827, allocations: 1.005 MB / 0.6446 GB, free: 51.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9827, allocations: 0 / 0.6446 GB, free: 51.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001872/0.9846, allocations: 0.55 MB / 0.6451 GB, free: 51.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,aimc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004675/0.985, allocations: 332.6 kB / 0.6455 GB, free: 50.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002941/0.988, allocations: 2.167 MB / 0.6476 GB, free: 48.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.988, allocations: 4.375 kB / 0.6476 GB, free: 48.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.9897, allocations: 1.586 MB / 0.6491 GB, free: 47.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.9914, allocations: 353.2 kB / 0.6495 GB, free: 47.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007057/0.9985, allocations: 4.72 MB / 0.6541 GB, free: 42.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1, allocations: 2.418 MB / 0.6564 GB, free: 40.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001365/1.001, allocations: 392.1 kB / 0.6568 GB, free: 40.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/1.002, allocations: 118.5 kB / 0.6569 GB, free: 40.56 MB / 426.7 MB Notification: Performance of SimCode: time 9.01e-07/1.002, allocations: 0 / 0.6569 GB, free: 40.56 MB / 426.7 MB Notification: Performance of Templates: time 0.03614/1.038, allocations: 24.52 MB / 0.6809 GB, free: 20.29 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches