Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 94.55 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 185.1 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 241.1 MB, free: 5.469 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002367/0.0002368, allocations: 6.469 kB / 300.7 MB, free: 6.004 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08671/0.08696, allocations: 50.43 MB / 351.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03169/0.1187, allocations: 30.65 MB / 381.8 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.1364, allocations: 9.648 MB / 391.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006389/0.1428, allocations: 255.1 kB / 391.7 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007723/0.1506, allocations: 2.068 MB / 393.8 MB, free: 1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0123/0.1629, allocations: 3.483 MB / 397.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005743/0.1687, allocations: 1.617 MB / 398.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02048/0.1892, allocations: 13.63 MB / 412.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3653/0.5545, allocations: 24.41 MB / 436.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008264/0.5628, allocations: 5.672 MB / 442.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.573, allocations: 6.248 MB / 448.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00364/0.5766, allocations: 0.9335 MB / 449.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006009/0.5826, allocations: 1.233 MB / 451 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004876/0.5875, allocations: 2.879 MB / 453.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005309/0.5929, allocations: 3.086 MB / 457 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02337/0.6163, allocations: 27.05 MB / 484 MB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6163, allocations: 0 / 484 MB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6163, allocations: 3.938 kB / 484 MB, free: 7.695 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0009298/0.6172, allocations: 2.297 kB / 484 MB, free: 7.695 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.04423/0.6615, allocations: 15.68 MB / 499.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6615, allocations: 8.031 kB / 499.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0462/0.7077, allocations: 8.209 MB / 0.496 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02023/0.728, allocations: 9.778 MB / 0.5056 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008988/0.7289, allocations: 1.058 MB / 0.5066 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004431/0.7334, allocations: 1.398 MB / 0.508 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05206/0.7855, allocations: 22.55 MB / 0.53 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005535/0.7861, allocations: 27.17 kB / 0.53 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003907/0.79, allocations: 0.5775 MB / 0.5306 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009874/0.791, allocations: 0.7793 MB / 0.5313 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04326/0.8343, allocations: 20.94 MB / 0.5518 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3274/1.162, allocations: 73.02 MB / 0.6231 GB, free: 61.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02726/1.189, allocations: 42.39 MB / 0.6645 GB, free: 42.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02334/1.212, allocations: 12.44 MB / 0.6766 GB, free: 40.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.22e-05/1.213, allocations: 92.62 kB / 0.6767 GB, free: 40.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=514): time 6.723e-06/1.213, allocations: 0 / 0.6767 GB, free: 40.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=522): time 0.05586/1.268, allocations: 27.38 MB / 0.7035 GB, free: 28 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/1.269, allocations: 129.4 kB / 0.7036 GB, free: 27.85 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008223/1.277, allocations: 5.645 MB / 0.7091 GB, free: 22.22 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001083/1.278, allocations: 109.7 kB / 0.7092 GB, free: 22.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002805/1.281, allocations: 6.129 MB / 0.7152 GB, free: 15.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001771/1.282, allocations: 1.784 MB / 0.7169 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004685/1.283, allocations: 152 kB / 0.7171 GB, free: 14.03 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003739/1.283, allocations: 0.6124 MB / 0.7177 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005541/1.289, allocations: 3.696 MB / 0.7213 GB, free: 9.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008309/1.297, allocations: 6.502 MB / 0.7276 GB, free: 1.965 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008366/1.306, allocations: 5.091 MB / 0.7326 GB, free: 12.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.57e-05/1.306, allocations: 28 kB / 0.7326 GB, free: 12.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=976) (initialization): time 0.02483/1.331, allocations: 12.21 MB / 0.7445 GB, free: 1.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/1.331, allocations: 48.12 kB / 0.7446 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001734/1.331, allocations: 96 kB / 0.7447 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004918/1.336, allocations: 1.603 MB / 0.7463 GB, free: 15.49 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007395/1.343, allocations: 1.68 MB / 0.7479 GB, free: 13.93 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02442/1.368, allocations: 18.63 MB / 0.7661 GB, free: 10.75 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006147/1.374, allocations: 430.5 kB / 0.7665 GB, free: 10.33 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/1.375, allocations: 368 kB / 0.7668 GB, free: 9.973 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 421 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 866 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 1,(12,52.8%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01013/1.385, allocations: 5.194 MB / 0.7719 GB, free: 4.887 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/1.387, allocations: 0.6059 MB / 0.7725 GB, free: 4.273 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2022/1.589, allocations: 9.551 MB / 0.7818 GB, free: 174.3 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01032/1.6, allocations: 5.985 MB / 0.7877 GB, free: 174.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.18e-05/1.6, allocations: 18.41 kB / 0.7877 GB, free: 174.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.61e-05/1.6, allocations: 26.73 kB / 0.7877 GB, free: 174.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03373/1.633, allocations: 21.29 MB / 0.8085 GB, free: 167.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/1.633, allocations: 7.156 kB / 0.8085 GB, free: 167.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00384/1.637, allocations: 0.8847 MB / 0.8094 GB, free: 167.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004506/1.642, allocations: 1.625 MB / 0.811 GB, free: 167 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007396/1.643, allocations: 126.5 kB / 0.8111 GB, free: 167 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02084/1.663, allocations: 21.8 MB / 0.8324 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.664, allocations: 8.203 kB / 0.8324 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01893/1.682, allocations: 14.9 MB / 0.8469 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003285/1.686, allocations: 1.372 MB / 0.8483 GB, free: 143.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009422/1.687, allocations: 108 kB / 0.8484 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/1.69, allocations: 307.5 kB / 0.8487 GB, free: 143.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000777/1.69, allocations: 411 kB / 0.8491 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003247/1.691, allocations: 156 kB / 0.8492 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004943/1.696, allocations: 3.794 MB / 0.8529 GB, free: 139 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.2e-07/1.696, allocations: 0 / 0.8529 GB, free: 139 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008086/1.704, allocations: 2.341 MB / 0.8552 GB, free: 136.7 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(12,54.2%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009836/1.705, allocations: 330.2 kB / 0.8555 GB, free: 136.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.718, allocations: 10.04 MB / 0.8653 GB, free: 126.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/1.718, allocations: 4 kB / 0.8653 GB, free: 126.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008201/1.727, allocations: 5.541 MB / 0.8707 GB, free: 120.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007874/1.735, allocations: 1.483 MB / 0.8722 GB, free: 119.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0457/1.78, allocations: 29.71 MB / 0.9012 GB, free: 89.54 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01404/1.794, allocations: 9.077 MB / 0.9101 GB, free: 80.42 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009161/1.804, allocations: 2.536 MB / 0.9125 GB, free: 77.88 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002183/1.806, allocations: 459.4 kB / 0.913 GB, free: 77.43 MB / 0.5138 GB Notification: Performance of SimCode: time 1.273e-06/1.806, allocations: 0 / 0.913 GB, free: 77.43 MB / 0.5138 GB Notification: Performance of Templates: time 0.3377/2.143, allocations: 94.83 MB / 1.006 GB, free: 150.1 MB / 0.5138 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches