Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009837/0.0009835, allocations: 177.3 kB / 16.71 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 225.7 MB / 243.2 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007305/0.0007305, allocations: 85.36 kB / 294.4 MB, free: 9.508 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002329/0.0002329, allocations: 11.94 kB / 354.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1947, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02333/0.2181, allocations: 33.71 MB / 438.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01917/0.2373, allocations: 11.9 MB / 450.2 MB, free: 1.059 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006365/0.2437, allocations: 267.1 kB / 450.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007468/0.2512, allocations: 2.461 MB / 452.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01338/0.2646, allocations: 4.622 MB / 457.6 MB, free: 9.441 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007456/0.2721, allocations: 2.683 MB / 460.2 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02036/0.2924, allocations: 16.67 MB / 476.9 MB, free: 5.871 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4049/0.6974, allocations: 36.35 MB / 0.5012 GB, free: 31 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009899/0.7073, allocations: 6.09 MB / 0.5072 GB, free: 30.39 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01056/0.7179, allocations: 7.202 MB / 0.5142 GB, free: 28.91 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003695/0.7216, allocations: 0.94 MB / 0.5151 GB, free: 28.91 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005562/0.7272, allocations: 1.32 MB / 0.5164 GB, free: 28.91 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003332/0.7306, allocations: 3.032 MB / 0.5194 GB, free: 28.38 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009788/0.7404, allocations: 7.267 MB / 0.5265 GB, free: 26.24 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0251/0.7655, allocations: 30.13 MB / 0.5559 GB, free: 10.09 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.7655, allocations: 0 / 0.5559 GB, free: 10.09 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7655, allocations: 0 / 0.5559 GB, free: 10.09 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0009667/0.7665, allocations: 0 / 0.5559 GB, free: 10.09 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.03906/0.8056, allocations: 15.6 MB / 0.5711 GB, free: 15.32 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8056, allocations: 12.03 kB / 0.5711 GB, free: 15.3 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04225/0.8479, allocations: 8.284 MB / 0.5792 GB, free: 7.605 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01918/0.8671, allocations: 9.903 MB / 0.5889 GB, free: 1.75 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/0.8684, allocations: 1.066 MB / 0.5899 GB, free: 1.141 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005901/0.8743, allocations: 1.406 MB / 0.5913 GB, free: 208 kB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0569/0.9312, allocations: 22.67 MB / 0.6135 GB, free: 11.52 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005274/0.9318, allocations: 15.91 kB / 0.6135 GB, free: 11.51 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004253/0.936, allocations: 0.5805 MB / 0.614 GB, free: 10.94 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000798/0.9368, allocations: 0.7755 MB / 0.6148 GB, free: 10.16 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04391/0.9808, allocations: 20.93 MB / 0.6352 GB, free: 5.234 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3293/1.31, allocations: 73.13 MB / 0.7067 GB, free: 116.4 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02426/1.334, allocations: 42.39 MB / 0.7481 GB, free: 77.04 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007758/1.342, allocations: 5.257 MB / 0.7532 GB, free: 74.33 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02071/1.363, allocations: 12.83 MB / 0.7657 GB, free: 65.84 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/1.363, allocations: 92.91 kB / 0.7658 GB, free: 65.76 MB / 474.8 MB Notification: Performance of pre-optimization done (n=504): time 7.274e-06/1.363, allocations: 0 / 0.7658 GB, free: 65.76 MB / 474.8 MB Notification: Performance of matching and sorting (n=512): time 0.04835/1.411, allocations: 26.73 MB / 0.7919 GB, free: 41.87 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/1.412, allocations: 133.4 kB / 0.792 GB, free: 41.71 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007068/1.419, allocations: 5.704 MB / 0.7976 GB, free: 36.03 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008852/1.42, allocations: 109.7 kB / 0.7977 GB, free: 35.92 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002835/1.422, allocations: 6.147 MB / 0.8037 GB, free: 29.73 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001614/1.424, allocations: 1.749 MB / 0.8054 GB, free: 28 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/1.424, allocations: 152 kB / 0.8056 GB, free: 27.85 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002714/1.425, allocations: 0.6121 MB / 0.8062 GB, free: 27.23 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004401/1.429, allocations: 3.653 MB / 0.8097 GB, free: 23.58 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005861/1.435, allocations: 6.502 MB / 0.8161 GB, free: 15.78 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/1.446, allocations: 10.81 MB / 0.8266 GB, free: 3.641 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-05/1.446, allocations: 28 kB / 0.8267 GB, free: 3.613 MB / 474.8 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.01801/1.464, allocations: 12.13 MB / 0.8385 GB, free: 7.418 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/1.464, allocations: 47.94 kB / 0.8386 GB, free: 7.371 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/1.464, allocations: 92 kB / 0.8386 GB, free: 7.281 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004084/1.468, allocations: 1.598 MB / 0.8402 GB, free: 5.672 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006229/1.474, allocations: 1.665 MB / 0.8418 GB, free: 4.004 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2425/1.717, allocations: 18.18 MB / 0.8596 GB, free: 143.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005811/1.723, allocations: 435.3 kB / 0.86 GB, free: 143.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/1.724, allocations: 366 kB / 0.8604 GB, free: 143.6 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 (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,54.2%), (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.00934/1.733, allocations: 5.194 MB / 0.8654 GB, free: 141.2 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/1.735, allocations: 0.5948 MB / 0.866 GB, free: 141.2 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/1.749, allocations: 9.436 MB / 0.8752 GB, free: 137.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00834/1.758, allocations: 5.93 MB / 0.881 GB, free: 135 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.002e-05/1.758, allocations: 17.19 kB / 0.881 GB, free: 135 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.765e-05/1.758, allocations: 31.78 kB / 0.8811 GB, free: 135 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03273/1.791, allocations: 21.14 MB / 0.9017 GB, free: 126.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/1.791, allocations: 3.812 kB / 0.9017 GB, free: 126.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003561/1.794, allocations: 0.8661 MB / 0.9025 GB, free: 125.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004246/1.799, allocations: 1.633 MB / 0.9041 GB, free: 124.2 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007901/1.799, allocations: 132 kB / 0.9043 GB, free: 124.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01961/1.819, allocations: 21.33 MB / 0.9251 GB, free: 102.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.819, allocations: 15.88 kB / 0.9251 GB, free: 102.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/1.838, allocations: 13.82 MB / 0.9386 GB, free: 88.2 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00386/1.842, allocations: 1.367 MB / 0.9399 GB, free: 86.95 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/1.843, allocations: 112 kB / 0.9401 GB, free: 86.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003448/1.847, allocations: 291.7 kB / 0.9403 GB, free: 86.56 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009879/1.848, allocations: 412.3 kB / 0.9407 GB, free: 86.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003251/1.848, allocations: 156 kB / 0.9409 GB, free: 86 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00557/1.854, allocations: 3.836 MB / 0.9446 GB, free: 82.2 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.3e-07/1.854, allocations: 0 / 0.9446 GB, free: 82.2 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.009315/1.863, allocations: 2.34 MB / 0.9469 GB, free: 79.86 MB / 490.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 (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,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/1.864, allocations: 339.6 kB / 0.9472 GB, free: 79.54 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01421/1.878, allocations: 9.909 MB / 0.9569 GB, free: 69.53 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.878, allocations: 7.812 kB / 0.9569 GB, free: 69.53 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009/1.887, allocations: 5.478 MB / 0.9623 GB, free: 63.96 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01384/1.901, allocations: 1.549 MB / 0.9638 GB, free: 62.42 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04554/1.947, allocations: 31.04 MB / 0.9941 GB, free: 31.26 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01212/1.959, allocations: 8.848 MB / 1.003 GB, free: 22.37 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.008355/1.967, allocations: 2.535 MB / 1.005 GB, free: 19.82 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001956/1.969, allocations: 455.3 kB / 1.006 GB, free: 19.38 MB / 490.8 MB Notification: Performance of SimCode: time 1.082e-06/1.969, allocations: 4 kB / 1.006 GB, free: 19.38 MB / 490.8 MB Notification: Performance of Templates: time 0.3711/2.34, allocations: 97.43 MB / 1.101 GB, free: 89.46 MB / 490.8 MB 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