Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 176 kB / 16.72 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001187, allocations: 70.45 kB / 271.2 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005797/0.0005799, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2605, allocations: 47.57 MB / 375.1 MB, free: 45.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02848/0.2891, allocations: 33.67 MB / 408.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02177/0.3109, allocations: 9.304 MB / 418.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009433/0.3204, allocations: 239.1 kB / 418.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009966/0.3304, allocations: 1.887 MB / 420.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01758/0.348, allocations: 3.407 MB / 423.6 MB, free: 84 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008866/0.3569, allocations: 1.607 MB / 425.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0306/0.3875, allocations: 19.08 MB / 444.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06104/0.4486, allocations: 28.76 MB / 473.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0151/0.4638, allocations: 6.136 MB / 479.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01401/0.4778, allocations: 6.989 MB / 486.2 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004434/0.4823, allocations: 0.9414 MB / 487.1 MB, free: 300 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007924/0.4903, allocations: 1.324 MB / 488.5 MB, free: 14.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006237/0.4965, allocations: 3.04 MB / 491.5 MB, free: 11.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01606/0.5126, allocations: 7.045 MB / 498.5 MB, free: 4.836 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4107/0.9233, allocations: 27.03 MB / 0.5132 GB, free: 38.3 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.9234, allocations: 2.531 kB / 0.5132 GB, free: 38.3 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.244e-06/0.9234, allocations: 0 / 0.5132 GB, free: 38.3 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001084/0.9245, allocations: 0 / 0.5132 GB, free: 38.3 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.04875/0.9733, allocations: 15.73 MB / 0.5286 GB, free: 30.55 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.9733, allocations: 14.14 kB / 0.5286 GB, free: 30.54 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04639/1.02, allocations: 9.276 MB / 0.5377 GB, free: 26.96 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02329/1.043, allocations: 9.138 MB / 0.5466 GB, free: 22.02 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001402/1.045, allocations: 1.074 MB / 0.5477 GB, free: 21.4 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006943/1.051, allocations: 1.416 MB / 0.549 GB, free: 20.46 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06461/1.116, allocations: 23.12 MB / 0.5716 GB, free: 5.824 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008814/1.117, allocations: 18.81 kB / 0.5716 GB, free: 5.809 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006618/1.124, allocations: 0.5898 MB / 0.5722 GB, free: 5.688 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001003/1.125, allocations: 0.8032 MB / 0.573 GB, free: 4.938 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05407/1.179, allocations: 21.61 MB / 0.5941 GB, free: 0.5977 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3745/1.553, allocations: 74.39 MB / 0.6667 GB, free: 123.3 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03106/1.584, allocations: 53.53 MB / 0.719 GB, free: 76.71 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009047/1.594, allocations: 5.436 MB / 0.7243 GB, free: 76.63 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03053/1.624, allocations: 15.62 MB / 0.7396 GB, free: 73.73 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.867e-05/1.624, allocations: 89.84 kB / 0.7397 GB, free: 73.66 MB / 458.8 MB Notification: Performance of pre-optimization done (n=504): time 9.969e-06/1.624, allocations: 0 / 0.7397 GB, free: 73.66 MB / 458.8 MB Notification: Performance of matching and sorting (n=512): time 0.06013/1.684, allocations: 26.9 MB / 0.7659 GB, free: 55.39 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/1.685, allocations: 129.4 kB / 0.7661 GB, free: 55.24 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/1.696, allocations: 5.859 MB / 0.7718 GB, free: 49.41 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001028/1.698, allocations: 109.7 kB / 0.7719 GB, free: 49.3 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003944/1.702, allocations: 6.282 MB / 0.778 GB, free: 42.98 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002193/1.704, allocations: 1.752 MB / 0.7797 GB, free: 41.25 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/1.705, allocations: 160 kB / 0.7799 GB, free: 41.09 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006468/1.706, allocations: 0.6207 MB / 0.7805 GB, free: 40.46 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006324/1.712, allocations: 3.708 MB / 0.7841 GB, free: 36.75 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007737/1.72, allocations: 6.8 MB / 0.7908 GB, free: 28.54 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01419/1.734, allocations: 11.2 MB / 0.8017 GB, free: 15.89 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.746e-05/1.734, allocations: 28 kB / 0.8017 GB, free: 15.87 MB / 458.8 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02416/1.758, allocations: 12.43 MB / 0.8139 GB, free: 3.367 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/1.759, allocations: 48 kB / 0.8139 GB, free: 3.32 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/1.759, allocations: 107.9 kB / 0.814 GB, free: 3.215 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00431/1.763, allocations: 1.602 MB / 0.8156 GB, free: 1.602 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006701/1.77, allocations: 1.743 MB / 0.8173 GB, free: 15.86 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2537/2.023, allocations: 18.2 MB / 0.835 GB, free: 145.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006307/2.03, allocations: 439.7 kB / 0.8355 GB, free: 145.7 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/2.031, allocations: 388 kB / 0.8358 GB, free: 145.7 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * 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 (907): * Single equations (assignments): 897 * 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,53.5%) 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.01116/2.042, allocations: 5.26 MB / 0.841 GB, free: 145.6 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001714/2.044, allocations: 0.6097 MB / 0.8416 GB, free: 145.6 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/2.06, allocations: 9.45 MB / 0.8508 GB, free: 142.4 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009246/2.069, allocations: 5.934 MB / 0.8566 GB, free: 140.1 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.65e-05/2.069, allocations: 24.55 kB / 0.8566 GB, free: 140.1 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.235e-05/2.069, allocations: 25.97 kB / 0.8566 GB, free: 140.1 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03335/2.103, allocations: 21.22 MB / 0.8774 GB, free: 131.4 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/2.103, allocations: 7.625 kB / 0.8774 GB, free: 131.4 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003272/2.106, allocations: 0.8633 MB / 0.8782 GB, free: 131.4 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004014/2.11, allocations: 1.639 MB / 0.8798 GB, free: 130.7 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000397/2.11, allocations: 123.8 kB / 0.8799 GB, free: 130.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/2.13, allocations: 21.35 MB / 0.9008 GB, free: 110.6 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/2.13, allocations: 9.719 kB / 0.9008 GB, free: 110.6 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02016/2.151, allocations: 13.85 MB / 0.9143 GB, free: 97.77 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00385/2.155, allocations: 1.384 MB / 0.9157 GB, free: 96.55 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001497/2.156, allocations: 100 kB / 0.9158 GB, free: 96.45 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/2.16, allocations: 299.7 kB / 0.916 GB, free: 96.16 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009784/2.161, allocations: 408.4 kB / 0.9164 GB, free: 95.75 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003568/2.161, allocations: 163.9 kB / 0.9166 GB, free: 95.59 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.006334/2.167, allocations: 3.918 MB / 0.9204 GB, free: 91.71 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.71e-07/2.167, allocations: 0 / 0.9204 GB, free: 91.71 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01164/2.179, allocations: 2.37 MB / 0.9227 GB, free: 89.34 MB / 474.8 MB 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%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(12,53.5%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/2.18, allocations: 319.1 kB / 0.923 GB, free: 89.04 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01479/2.195, allocations: 10.06 MB / 0.9329 GB, free: 78.88 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/2.195, allocations: 6 kB / 0.9329 GB, free: 78.88 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008211/2.203, allocations: 5.485 MB / 0.9382 GB, free: 73.31 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01298/2.216, allocations: 1.542 MB / 0.9397 GB, free: 71.79 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04372/2.26, allocations: 29.73 MB / 0.9688 GB, free: 41.94 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008489/2.269, allocations: 8.645 MB / 0.9772 GB, free: 33.26 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/2.271, allocations: 0.5189 MB / 0.9777 GB, free: 32.74 MB / 474.8 MB Notification: Performance of SimCode: time 1.222e-06/2.271, allocations: 0 / 0.9777 GB, free: 32.74 MB / 474.8 MB Notification: Performance of Templates: time 1.932/4.203, allocations: 0.6714 GB / 1.649 GB, free: 84.89 MB / 0.4949 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches