Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 98.84 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 200.8 kB / 17.9 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002456/0.0002456, allocations: 8 kB / 306.6 MB, free: 1.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09165, allocations: 51.49 MB / 358.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1823/0.274, allocations: 31.15 MB / 389.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02054/0.2946, allocations: 9.898 MB / 399.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006767/0.3014, allocations: 252.8 kB / 399.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007573/0.309, allocations: 2.098 MB / 401.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01358/0.3226, allocations: 3.529 MB / 405 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006707/0.3293, allocations: 1.658 MB / 406.7 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02339/0.3527, allocations: 13.78 MB / 420.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04999/0.4027, allocations: 24.41 MB / 444.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01362/0.4164, allocations: 5.681 MB / 450.6 MB, free: 36 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/0.4275, allocations: 6.253 MB / 456.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003462/0.431, allocations: 0.9336 MB / 457.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006228/0.4372, allocations: 1.261 MB / 459 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004727/0.442, allocations: 2.881 MB / 461.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005673/0.4477, allocations: 3.088 MB / 465 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02869/0.4764, allocations: 27 MB / 492 MB, free: 6.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4764, allocations: 0 / 492 MB, free: 6.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.359e-06/0.4765, allocations: 3.984 kB / 492 MB, free: 6.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001073/0.4775, allocations: 0 / 492 MB, free: 6.488 MB / 398.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.04518/0.5227, allocations: 15.71 MB / 0.4958 GB, free: 6.656 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5228, allocations: 8.031 kB / 0.4958 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04618/0.569, allocations: 8.246 MB / 0.5039 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02178/0.5908, allocations: 9.808 MB / 0.5134 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/0.5919, allocations: 1.056 MB / 0.5145 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005014/0.5969, allocations: 1.398 MB / 0.5158 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4115/1.008, allocations: 22.54 MB / 0.5378 GB, free: 110.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006884/1.009, allocations: 18.89 kB / 0.5379 GB, free: 110.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004444/1.014, allocations: 0.5806 MB / 0.5384 GB, free: 110.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009807/1.015, allocations: 0.7837 MB / 0.5392 GB, free: 110.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04915/1.064, allocations: 20.94 MB / 0.5596 GB, free: 102.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1207/1.185, allocations: 73.67 MB / 0.6316 GB, free: 40.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02655/1.211, allocations: 42.68 MB / 0.6733 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03781/1.249, allocations: 12.73 MB / 0.6857 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/1.249, allocations: 82.81 kB / 0.6858 GB, free: 11.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=514): time 1.112e-05/1.249, allocations: 4 kB / 0.6858 GB, free: 11.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=522): time 0.07521/1.324, allocations: 27.39 MB / 0.7125 GB, free: 184 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/1.325, allocations: 129.4 kB / 0.7127 GB, free: 36 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008853/1.333, allocations: 5.678 MB / 0.7182 GB, free: 10.38 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009824/1.334, allocations: 109.7 kB / 0.7183 GB, free: 10.27 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004326/1.339, allocations: 6.137 MB / 0.7243 GB, free: 4.094 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00245/1.341, allocations: 1.789 MB / 0.726 GB, free: 2.32 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005509/1.342, allocations: 156 kB / 0.7262 GB, free: 2.168 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0004615/1.342, allocations: 0.6084 MB / 0.7268 GB, free: 1.555 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1913/1.534, allocations: 3.689 MB / 0.7304 GB, free: 163.5 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008327/1.542, allocations: 6.509 MB / 0.7367 GB, free: 159.7 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006709/1.549, allocations: 5.088 MB / 0.7417 GB, free: 157.5 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-05/1.549, allocations: 26.5 kB / 0.7417 GB, free: 157.5 MB / 0.4982 GB Notification: Performance of matching and sorting (n=976) (initialization): time 0.01986/1.569, allocations: 12.22 MB / 0.7537 GB, free: 152.8 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 7.552e-05/1.569, allocations: 51.27 kB / 0.7537 GB, free: 152.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/1.569, allocations: 91.5 kB / 0.7538 GB, free: 152.8 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003839/1.573, allocations: 1.607 MB / 0.7554 GB, free: 152.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005929/1.579, allocations: 1.675 MB / 0.757 GB, free: 152.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/1.597, allocations: 18.63 MB / 0.7752 GB, free: 140.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005617/1.603, allocations: 438 kB / 0.7756 GB, free: 140 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.604, allocations: 368.7 kB / 0.776 GB, free: 140 MB / 0.4982 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.007458/1.611, allocations: 5.189 MB / 0.781 GB, free: 137.5 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.612, allocations: 0.61 MB / 0.7816 GB, free: 137.5 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.626, allocations: 9.557 MB / 0.791 GB, free: 133.5 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007515/1.633, allocations: 5.989 MB / 0.7968 GB, free: 128.6 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-05/1.633, allocations: 20 kB / 0.7968 GB, free: 128.6 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.654e-05/1.633, allocations: 23.02 kB / 0.7969 GB, free: 128.6 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02958/1.663, allocations: 21.3 MB / 0.8177 GB, free: 109.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/1.663, allocations: 8.781 kB / 0.8177 GB, free: 109.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003453/1.666, allocations: 0.8854 MB / 0.8185 GB, free: 108.4 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003939/1.67, allocations: 1.639 MB / 0.8201 GB, free: 106.7 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00047/1.671, allocations: 128 kB / 0.8202 GB, free: 106.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/1.69, allocations: 21.8 MB / 0.8415 GB, free: 84.09 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.69, allocations: 9.812 kB / 0.8415 GB, free: 84.09 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/1.708, allocations: 14.91 MB / 0.8561 GB, free: 68.75 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003422/1.712, allocations: 1.37 MB / 0.8574 GB, free: 67.36 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.713, allocations: 111.9 kB / 0.8575 GB, free: 67.25 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003069/1.716, allocations: 299.7 kB / 0.8578 GB, free: 66.96 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000773/1.717, allocations: 416.4 kB / 0.8582 GB, free: 66.55 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003069/1.717, allocations: 156 kB / 0.8584 GB, free: 66.4 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.004883/1.722, allocations: 3.806 MB / 0.8621 GB, free: 62.62 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.3e-07/1.722, allocations: 0 / 0.8621 GB, free: 62.62 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008596/1.731, allocations: 2.35 MB / 0.8644 GB, free: 60.28 MB / 0.4982 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%) 1,(1,100.0%) 8,(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.001069/1.732, allocations: 321.2 kB / 0.8647 GB, free: 59.97 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0164/1.748, allocations: 10.02 MB / 0.8745 GB, free: 49.84 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.748, allocations: 1.875 kB / 0.8745 GB, free: 49.84 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008327/1.757, allocations: 5.545 MB / 0.8799 GB, free: 44.22 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007329/1.764, allocations: 1.503 MB / 0.8814 GB, free: 42.75 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.249/2.013, allocations: 29.73 MB / 0.9104 GB, free: 149.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01946/2.033, allocations: 9.086 MB / 0.9193 GB, free: 148.6 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009206/2.042, allocations: 2.543 MB / 0.9218 GB, free: 148.5 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002125/2.044, allocations: 458.2 kB / 0.9222 GB, free: 148.4 MB / 0.4982 GB Notification: Performance of SimCode: time 1.272e-06/2.044, allocations: 0 / 0.9222 GB, free: 148.4 MB / 0.4982 GB Notification: Performance of Templates: time 0.1523/2.196, allocations: 95.08 MB / 1.015 GB, free: 79.75 MB / 0.4982 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches