Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009234/0.0009234, allocations: 178.2 kB / 17.36 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007787/0.0007787, allocations: 94.34 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003446, allocations: 4 kB / 329.1 MB, free: 15.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.259, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02742/0.2865, allocations: 33.78 MB / 410.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02051/0.307, allocations: 11.89 MB / 422.3 MB, free: 2.152 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007905/0.315, allocations: 239.1 kB / 422.5 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009684/0.3247, allocations: 2.458 MB / 425 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01624/0.341, allocations: 4.669 MB / 429.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007982/0.349, allocations: 2.724 MB / 432.4 MB, free: 7.652 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02209/0.3711, allocations: 16.89 MB / 449.3 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06223/0.4334, allocations: 36.34 MB / 485.6 MB, free: 412 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01267/0.4461, allocations: 6.145 MB / 491.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01298/0.4591, allocations: 7.321 MB / 499.1 MB, free: 2.883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005331/0.4645, allocations: 0.9375 MB / 0.4883 GB, free: 1.945 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008826/0.4734, allocations: 1.32 MB / 0.4896 GB, free: 0.625 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.226/0.6994, allocations: 3.077 MB / 0.4926 GB, free: 46.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01208/0.7115, allocations: 7.344 MB / 0.4998 GB, free: 45.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03334/0.7449, allocations: 30.14 MB / 0.5292 GB, free: 32.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.7449, allocations: 5.469 kB / 0.5292 GB, free: 32.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7449, allocations: 0 / 0.5292 GB, free: 32.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.001177/0.7461, allocations: 0 / 0.5292 GB, free: 32.77 MB / 378.7 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.04488/0.791, allocations: 15.74 MB / 0.5446 GB, free: 24.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.7911, allocations: 7.438 kB / 0.5446 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0469/0.838, allocations: 9.274 MB / 0.5536 GB, free: 19.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01971/0.8577, allocations: 9.14 MB / 0.5626 GB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/0.859, allocations: 1.073 MB / 0.5636 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006344/0.8654, allocations: 1.415 MB / 0.565 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06805/0.9335, allocations: 23.13 MB / 0.5876 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000879/0.9344, allocations: 23.19 kB / 0.5876 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006229/0.9406, allocations: 0.5833 MB / 0.5882 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00104/0.9417, allocations: 0.8071 MB / 0.589 GB, free: 9.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05481/0.9965, allocations: 21.61 MB / 0.6101 GB, free: 4.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3269/1.323, allocations: 74.39 MB / 0.6827 GB, free: 117 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0293/1.353, allocations: 53.52 MB / 0.735 GB, free: 69.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007758/1.361, allocations: 5.445 MB / 0.7403 GB, free: 66.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02258/1.383, allocations: 15.62 MB / 0.7555 GB, free: 57.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/1.383, allocations: 86.5 kB / 0.7556 GB, free: 57.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=504): time 6.562e-06/1.383, allocations: 3.938 kB / 0.7556 GB, free: 57.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=512): time 0.05043/1.434, allocations: 26.89 MB / 0.7819 GB, free: 30.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/1.434, allocations: 129.4 kB / 0.782 GB, free: 30.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007504/1.441, allocations: 5.852 MB / 0.7877 GB, free: 24.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007683/1.442, allocations: 117.6 kB / 0.7878 GB, free: 24.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002656/1.445, allocations: 6.28 MB / 0.794 GB, free: 18.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/1.446, allocations: 1.753 MB / 0.7957 GB, free: 16.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/1.447, allocations: 163.9 kB / 0.7958 GB, free: 16.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002924/1.447, allocations: 0.6169 MB / 0.7965 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004654/1.452, allocations: 3.708 MB / 0.8001 GB, free: 11.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00736/1.459, allocations: 6.801 MB / 0.8067 GB, free: 3.645 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01449/1.474, allocations: 11.19 MB / 0.8176 GB, free: 7.008 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/1.474, allocations: 28 kB / 0.8177 GB, free: 6.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.2309/1.705, allocations: 12.44 MB / 0.8298 GB, free: 152.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.639e-05/1.705, allocations: 47.41 kB / 0.8299 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001812/1.705, allocations: 102.8 kB / 0.83 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004181/1.709, allocations: 1.596 MB / 0.8315 GB, free: 152 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0072/1.716, allocations: 1.748 MB / 0.8332 GB, free: 152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/1.735, allocations: 18.2 MB / 0.851 GB, free: 141.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00679/1.742, allocations: 448 kB / 0.8514 GB, free: 141.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/1.744, allocations: 389.3 kB / 0.8518 GB, free: 141 MB / 474.7 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 (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (12,64,53.5%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01039/1.754, allocations: 5.256 MB / 0.8569 GB, free: 138.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/1.756, allocations: 0.608 MB / 0.8575 GB, free: 138.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/1.771, allocations: 9.45 MB / 0.8668 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008923/1.78, allocations: 5.934 MB / 0.8725 GB, free: 131.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.741e-05/1.78, allocations: 20 kB / 0.8726 GB, free: 131.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.313e-05/1.78, allocations: 28.75 kB / 0.8726 GB, free: 131.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03946/1.819, allocations: 21.21 MB / 0.8933 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/1.819, allocations: 8 kB / 0.8933 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003609/1.823, allocations: 0.8699 MB / 0.8942 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004201/1.827, allocations: 1.632 MB / 0.8958 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007591/1.828, allocations: 124 kB / 0.8959 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/1.847, allocations: 21.36 MB / 0.9167 GB, free: 87.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.847, allocations: 11.94 kB / 0.9168 GB, free: 87.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/1.866, allocations: 13.85 MB / 0.9303 GB, free: 73.83 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003614/1.87, allocations: 1.38 MB / 0.9316 GB, free: 72.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001477/1.871, allocations: 104 kB / 0.9317 GB, free: 72.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003301/1.875, allocations: 299.7 kB / 0.932 GB, free: 72.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009055/1.876, allocations: 412.4 kB / 0.9324 GB, free: 71.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003299/1.876, allocations: 155.9 kB / 0.9325 GB, free: 71.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006789/1.883, allocations: 3.922 MB / 0.9364 GB, free: 67.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.883, allocations: 0 / 0.9364 GB, free: 67.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.011/1.894, allocations: 2.374 MB / 0.9387 GB, free: 65.31 MB / 474.7 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/1.895, allocations: 317.8 kB / 0.939 GB, free: 65 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01362/1.909, allocations: 10.07 MB / 0.9488 GB, free: 54.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.909, allocations: 4 kB / 0.9488 GB, free: 54.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007658/1.916, allocations: 5.488 MB / 0.9542 GB, free: 49.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01329/1.93, allocations: 1.546 MB / 0.9557 GB, free: 47.72 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04975/1.98, allocations: 31.47 MB / 0.9864 GB, free: 16.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2255/2.205, allocations: 8.921 MB / 0.9951 GB, free: 137.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01033/2.215, allocations: 2.593 MB / 0.9977 GB, free: 137.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/2.218, allocations: 466.8 kB / 0.9981 GB, free: 137.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/2.218, allocations: 0 / 0.9981 GB, free: 137.5 MB / 474.7 MB Notification: Performance of Templates: time 0.1765/2.394, allocations: 98.22 MB / 1.094 GB, free: 65.57 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches