Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 194 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 226.5 MB / 244.3 MB, free: 6.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009229/0.0009231, allocations: 95.56 kB / 296.4 MB, free: 6.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002738, allocations: 8 kB / 356.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2745, allocations: 51.3 MB / 407.5 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02678/0.3013, allocations: 33.98 MB / 441.5 MB, free: 9.695 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02222/0.3236, allocations: 9.521 MB / 451 MB, free: 164 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009415/0.3331, allocations: 271.1 kB / 451.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007967/0.3411, allocations: 1.891 MB / 453.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.3551, allocations: 3.346 MB / 456.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006798/0.3619, allocations: 1.603 MB / 458.1 MB, free: 9.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02482/0.3867, allocations: 18.97 MB / 477.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05424/0.441, allocations: 24.64 MB / 0.49 GB, free: 13.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01195/0.453, allocations: 6.089 MB / 0.4959 GB, free: 7.152 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01281/0.4658, allocations: 6.884 MB / 0.5026 GB, free: 248 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.4577/0.9236, allocations: 0.9355 MB / 0.5036 GB, free: 24.72 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007508/0.9311, allocations: 1.325 MB / 0.5049 GB, free: 24.72 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002699/0.9338, allocations: 2.985 MB / 0.5078 GB, free: 24.72 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005197/0.939, allocations: 3.085 MB / 0.5108 GB, free: 24.69 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02438/0.9634, allocations: 27.07 MB / 0.5372 GB, free: 13.56 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.9635, allocations: 0 / 0.5372 GB, free: 13.56 MB / 378.8 MB Notification: Performance of FrontEnd: time 4.288e-06/0.9635, allocations: 0 / 0.5372 GB, free: 13.56 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0009444/0.9644, allocations: 0 / 0.5372 GB, free: 13.56 MB / 378.8 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.04153/1.006, allocations: 15.79 MB / 0.5526 GB, free: 5.836 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.006, allocations: 7.812 kB / 0.5526 GB, free: 5.836 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04239/1.048, allocations: 8.328 MB / 0.5608 GB, free: 2.613 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/1.071, allocations: 9.764 MB / 0.5703 GB, free: 14.78 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001253/1.072, allocations: 1.067 MB / 0.5714 GB, free: 14.17 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00755/1.08, allocations: 1.403 MB / 0.5727 GB, free: 13.23 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07504/1.155, allocations: 22.67 MB / 0.5949 GB, free: 13 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008895/1.156, allocations: 23.8 kB / 0.5949 GB, free: 12.98 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006656/1.163, allocations: 0.5746 MB / 0.5954 GB, free: 12.42 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/1.164, allocations: 0.7776 MB / 0.5962 GB, free: 11.64 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05801/1.222, allocations: 20.93 MB / 0.6167 GB, free: 6.703 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4121/1.634, allocations: 73.72 MB / 0.6886 GB, free: 140.9 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0278/1.662, allocations: 42.7 MB / 0.7303 GB, free: 105.4 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007874/1.67, allocations: 5.278 MB / 0.7355 GB, free: 105.3 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01941/1.689, allocations: 13.12 MB / 0.7483 GB, free: 101.9 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/1.689, allocations: 92.8 kB / 0.7484 GB, free: 101.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=504): time 7.173e-06/1.689, allocations: 0 / 0.7484 GB, free: 101.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=512): time 0.0613/1.75, allocations: 28.95 MB / 0.7767 GB, free: 89.08 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/1.751, allocations: 134.4 kB / 0.7768 GB, free: 88.96 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008098/1.759, allocations: 5.729 MB / 0.7824 GB, free: 83.25 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007999/1.759, allocations: 109.7 kB / 0.7825 GB, free: 83.14 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002828/1.762, allocations: 6.144 MB / 0.7885 GB, free: 76.96 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002251/1.765, allocations: 1.752 MB / 0.7902 GB, free: 75.22 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004096/1.765, allocations: 152 kB / 0.7904 GB, free: 75.07 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003653/1.765, allocations: 0.6044 MB / 0.7909 GB, free: 74.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004987/1.77, allocations: 3.653 MB / 0.7945 GB, free: 70.81 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005714/1.776, allocations: 6.498 MB / 0.8009 GB, free: 63.01 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005895/1.782, allocations: 5.042 MB / 0.8058 GB, free: 57.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.482e-05/1.782, allocations: 28 kB / 0.8058 GB, free: 57.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.01673/1.799, allocations: 12.13 MB / 0.8176 GB, free: 45.74 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/1.799, allocations: 44 kB / 0.8177 GB, free: 45.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/1.799, allocations: 92 kB / 0.8178 GB, free: 45.61 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003808/1.803, allocations: 1.601 MB / 0.8193 GB, free: 43.99 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005068/1.808, allocations: 1.669 MB / 0.821 GB, free: 42.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/1.826, allocations: 18.19 MB / 0.8387 GB, free: 23.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005542/1.831, allocations: 427.5 kB / 0.8391 GB, free: 23.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000574/1.832, allocations: 372 kB / 0.8395 GB, free: 22.7 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (868): * Single equations (assignments): 858 * 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,54.2%) 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.008521/1.84, allocations: 5.197 MB / 0.8446 GB, free: 17.49 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.842, allocations: 0.598 MB / 0.8452 GB, free: 16.89 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/1.855, allocations: 9.452 MB / 0.8544 GB, free: 7.344 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007642/1.863, allocations: 5.928 MB / 0.8602 GB, free: 1.383 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.564e-05/1.863, allocations: 20 kB / 0.8602 GB, free: 1.363 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-05/1.863, allocations: 23.91 kB / 0.8602 GB, free: 1.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2857/2.149, allocations: 21.14 MB / 0.8809 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/2.149, allocations: 8.688 kB / 0.8809 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003732/2.152, allocations: 0.8636 MB / 0.8817 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004557/2.157, allocations: 1.637 MB / 0.8833 GB, free: 157.4 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003797/2.157, allocations: 124.7 kB / 0.8834 GB, free: 157.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02163/2.179, allocations: 21.32 MB / 0.9043 GB, free: 144.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/2.179, allocations: 11.69 kB / 0.9043 GB, free: 144.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02019/2.199, allocations: 13.83 MB / 0.9178 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003742/2.203, allocations: 1.369 MB / 0.9191 GB, free: 138.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009761/2.204, allocations: 106.4 kB / 0.9192 GB, free: 138.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/2.207, allocations: 302 kB / 0.9195 GB, free: 138.1 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008935/2.208, allocations: 410.2 kB / 0.9199 GB, free: 138 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003035/2.208, allocations: 156 kB / 0.92 GB, free: 138 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006083/2.214, allocations: 3.851 MB / 0.9238 GB, free: 136.6 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.81e-07/2.214, allocations: 0 / 0.9238 GB, free: 136.6 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009473/2.224, allocations: 2.344 MB / 0.9261 GB, free: 136.4 MB / 0.4949 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 (441): * Single equations (assignments): 430 * 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%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(12,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000989/2.225, allocations: 323 kB / 0.9264 GB, free: 136.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01418/2.239, allocations: 9.901 MB / 0.9361 GB, free: 130.1 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/2.239, allocations: 4 kB / 0.9361 GB, free: 130.1 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007614/2.246, allocations: 5.474 MB / 0.9414 GB, free: 125.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008112/2.255, allocations: 1.584 MB / 0.943 GB, free: 124 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04556/2.3, allocations: 29.39 MB / 0.9717 GB, free: 96.77 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009676/2.31, allocations: 8.574 MB / 0.98 GB, free: 89.42 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002636/2.313, allocations: 0.5033 MB / 0.9805 GB, free: 88.92 MB / 0.4949 GB Notification: Performance of SimCode: time 7.62e-07/2.313, allocations: 0 / 0.9805 GB, free: 88.92 MB / 0.4949 GB Notification: Performance of Templates: time 1.716/4.029, allocations: 0.667 GB / 1.647 GB, free: 171.4 MB / 0.5262 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches