Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 190.8 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 51.92 kB / 370.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2318, allocations: 52.18 MB / 422.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04172/0.2735, allocations: 32.85 MB / 455.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02324/0.2968, allocations: 9.756 MB / 465.2 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007659/0.3044, allocations: 354.1 kB / 465.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02608/0.3305, allocations: 9.575 MB / 475.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.3452, allocations: 4.133 MB / 479.3 MB, free: 5.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007579/0.3528, allocations: 2.363 MB / 481.6 MB, free: 3.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02383/0.3766, allocations: 16.5 MB / 498.1 MB, free: 2.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03649/0.4131, allocations: 20.3 MB / 0.5063 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.4266, allocations: 8.712 MB / 0.5148 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01561/0.4422, allocations: 9.023 MB / 0.5236 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006028/0.4482, allocations: 2.41 MB / 0.526 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008413/0.4566, allocations: 2.796 MB / 0.5287 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0071/0.4637, allocations: 4.824 MB / 0.5334 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3952/0.8589, allocations: 7.154 MB / 0.5404 GB, free: 37.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03442/0.8934, allocations: 32.32 MB / 0.572 GB, free: 30.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8934, allocations: 0 / 0.572 GB, free: 30.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.8934, allocations: 2.594 kB / 0.572 GB, free: 30.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001001/0.8944, allocations: 2.469 kB / 0.572 GB, free: 30.19 MB / 446.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.05746/0.9518, allocations: 18.92 MB / 0.5904 GB, free: 18.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.9519, allocations: 7.219 kB / 0.5905 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009221/0.9611, allocations: 2.289 MB / 0.5927 GB, free: 17.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04392/1.005, allocations: 8.371 MB / 0.6009 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0225/1.028, allocations: 10.3 MB / 0.6109 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009351/1.028, allocations: 1.069 MB / 0.612 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006001/1.034, allocations: 1.391 MB / 0.6133 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06727/1.102, allocations: 23.06 MB / 0.6358 GB, free: 9.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007054/1.102, allocations: 23.36 kB / 0.6359 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005535/1.108, allocations: 0.5789 MB / 0.6364 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001062/1.109, allocations: 0.778 MB / 0.6372 GB, free: 8.477 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0649/1.174, allocations: 20.94 MB / 0.6576 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1711/1.345, allocations: 65.01 MB / 0.7211 GB, free: 2.414 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02864/1.374, allocations: 13.76 MB / 0.7346 GB, free: 6.699 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01019/1.384, allocations: 4.699 MB / 0.7392 GB, free: 1.988 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03137/1.415, allocations: 11.39 MB / 0.7503 GB, free: 6.766 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.644e-05/1.415, allocations: 82.77 kB / 0.7504 GB, free: 6.676 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.436e-06/1.415, allocations: 0 / 0.7504 GB, free: 6.676 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.332/1.747, allocations: 25.78 MB / 0.7755 GB, free: 199.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/1.747, allocations: 129.5 kB / 0.7757 GB, free: 199.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008669/1.756, allocations: 5.919 MB / 0.7814 GB, free: 197.9 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001073/1.757, allocations: 112.3 kB / 0.7815 GB, free: 197.8 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003082/1.76, allocations: 6.366 MB / 0.7878 GB, free: 193 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002083/1.762, allocations: 1.812 MB / 0.7895 GB, free: 191.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002289/1.765, allocations: 1.466 MB / 0.791 GB, free: 190.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.35e-05/1.765, allocations: 305.1 kB / 0.7913 GB, free: 190.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004884/1.77, allocations: 3.632 MB / 0.7948 GB, free: 189.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006398/1.776, allocations: 6.525 MB / 0.8012 GB, free: 184.1 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/1.788, allocations: 10.76 MB / 0.8117 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/1.788, allocations: 28 kB / 0.8117 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02319/1.811, allocations: 11.98 MB / 0.8234 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/1.812, allocations: 44 kB / 0.8234 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002186/1.812, allocations: 92.59 kB / 0.8235 GB, free: 165 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004397/1.816, allocations: 1.589 MB / 0.8251 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006559/1.823, allocations: 1.67 MB / 0.8267 GB, free: 162.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/1.845, allocations: 18.88 MB / 0.8452 GB, free: 144.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006459/1.851, allocations: 421.8 kB / 0.8456 GB, free: 144.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/1.853, allocations: 367.3 kB / 0.8459 GB, free: 144.1 MB / 0.5763 GB 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[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,52.1%), (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.009396/1.862, allocations: 5.188 MB / 0.851 GB, free: 139.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001905/1.864, allocations: 0.6249 MB / 0.8516 GB, free: 138.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01721/1.881, allocations: 9.156 MB / 0.8605 GB, free: 129.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009417/1.89, allocations: 5.829 MB / 0.8662 GB, free: 123.5 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.129e-05/1.89, allocations: 20 kB / 0.8662 GB, free: 123.5 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.141e-05/1.891, allocations: 23.91 kB / 0.8663 GB, free: 123.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04265/1.933, allocations: 19.89 MB / 0.8857 GB, free: 103.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.443e-05/1.933, allocations: 8 kB / 0.8857 GB, free: 103.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00403/1.937, allocations: 0.8667 MB / 0.8865 GB, free: 102.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00454/1.942, allocations: 1.636 MB / 0.8881 GB, free: 101 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001023/1.943, allocations: 131.8 kB / 0.8883 GB, free: 100.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02203/1.965, allocations: 22.17 MB / 0.9099 GB, free: 77.92 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.965, allocations: 7.938 kB / 0.9099 GB, free: 77.91 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02216/1.987, allocations: 13.53 MB / 0.9231 GB, free: 64.06 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00456/1.992, allocations: 1.352 MB / 0.9245 GB, free: 62.71 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002393/1.994, allocations: 104 kB / 0.9246 GB, free: 62.61 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004459/1.998, allocations: 291.7 kB / 0.9248 GB, free: 62.32 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001413/2, allocations: 424.3 kB / 0.9252 GB, free: 61.91 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008042/2.001, allocations: 152 kB / 0.9254 GB, free: 61.76 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00795/2.009, allocations: 3.883 MB / 0.9292 GB, free: 57.9 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.11e-07/2.009, allocations: 0 / 0.9292 GB, free: 57.9 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01186/2.021, allocations: 2.34 MB / 0.9315 GB, free: 55.56 MB / 0.5763 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 (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.02409/2.045, allocations: 14.32 MB / 0.9455 GB, free: 40.93 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01616/2.061, allocations: 9.435 MB / 0.9547 GB, free: 31.41 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/2.061, allocations: 4.062 kB / 0.9547 GB, free: 31.41 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008627/2.069, allocations: 5.135 MB / 0.9597 GB, free: 26.18 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01111/2.081, allocations: 1.628 MB / 0.9613 GB, free: 24.59 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3375/2.418, allocations: 80.18 MB / 1.04 GB, free: 179.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008891/2.427, allocations: 8.486 MB / 1.048 GB, free: 172.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006258/2.433, allocations: 2.53 MB / 1.05 GB, free: 170.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006224/2.439, allocations: 5.162 MB / 1.055 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.082e-06/2.439, allocations: 0 / 1.055 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5081/2.947, allocations: 194.1 MB / 1.245 GB, free: 187.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.55/24.5, allocations: 3.094 kB / 1.245 GB, free: 187.3 MB / 0.5763 GB " [Timeout remaining time 635] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.686761945020407]