Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 254.1 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_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_1_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.001384/0.001384, allocations: 47.94 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 53.34 MB / 426.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2641/0.3867, allocations: 39.07 MB / 465.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02737/0.414, allocations: 10.35 MB / 475.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009667/0.4237, allocations: 356.8 kB / 476.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02603/0.4497, allocations: 10.31 MB / 486.4 MB, free: 2.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01649/0.4662, allocations: 4.139 MB / 490.6 MB, free: 14.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008642/0.4749, allocations: 2.428 MB / 493 MB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02702/0.5019, allocations: 16.53 MB / 0.4976 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04203/0.5439, allocations: 23.68 MB / 0.5207 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01825/0.5622, allocations: 8.665 MB / 0.5292 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01725/0.5794, allocations: 9.585 MB / 0.5385 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007416/0.5868, allocations: 2.422 MB / 0.5409 GB, free: 1.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009793/0.5966, allocations: 2.835 MB / 0.5437 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008284/0.6049, allocations: 4.828 MB / 0.5484 GB, free: 9.355 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01863/0.6235, allocations: 9.206 MB / 0.5574 GB, free: 116 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04624/0.6698, allocations: 32.24 MB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.6698, allocations: 4 kB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6698, allocations: 0 / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001145/0.6709, allocations: 0 / 0.5889 GB, free: 15.77 MB / 0.4981 GB 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.06348/0.7344, allocations: 19.07 MB / 0.6075 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.7345, allocations: 8.031 kB / 0.6075 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009843/0.7443, allocations: 2.29 MB / 0.6097 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05231/0.7966, allocations: 8.282 MB / 0.6178 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4703/1.267, allocations: 10.28 MB / 0.6279 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001225/1.268, allocations: 1.063 MB / 0.6289 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005991/1.274, allocations: 1.4 MB / 0.6303 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06516/1.339, allocations: 22.8 MB / 0.6525 GB, free: 128.4 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008019/1.34, allocations: 21.91 kB / 0.6525 GB, free: 128.4 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005084/1.345, allocations: 0.5755 MB / 0.6531 GB, free: 127.9 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009968/1.346, allocations: 0.7822 MB / 0.6539 GB, free: 127.9 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04491/1.391, allocations: 21.07 MB / 0.6745 GB, free: 113.9 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1288/1.52, allocations: 72.87 MB / 0.7456 GB, free: 40.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0312/1.551, allocations: 42.13 MB / 0.7868 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01042/1.561, allocations: 4.741 MB / 0.7914 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03226/1.594, allocations: 13.04 MB / 0.8041 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/1.594, allocations: 86.77 kB / 0.8042 GB, free: 7.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 9.418e-06/1.594, allocations: 0 / 0.8042 GB, free: 7.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.07517/1.669, allocations: 26.61 MB / 0.8302 GB, free: 12.78 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.669, allocations: 133.3 kB / 0.8303 GB, free: 12.63 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/1.682, allocations: 5.793 MB / 0.836 GB, free: 6.859 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001101/1.683, allocations: 109.7 kB / 0.8361 GB, free: 6.746 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005838/1.689, allocations: 6.379 MB / 0.8423 GB, free: 360 kB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.2799/1.968, allocations: 1.804 MB / 0.8441 GB, free: 186.4 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003449/1.972, allocations: 1.481 MB / 0.8455 GB, free: 186.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.214e-05/1.972, allocations: 307.1 kB / 0.8458 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006373/1.978, allocations: 3.634 MB / 0.8494 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0085/1.987, allocations: 6.481 MB / 0.8557 GB, free: 181.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01367/2, allocations: 10.79 MB / 0.8662 GB, free: 174 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/2.001, allocations: 27 kB / 0.8663 GB, free: 174 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02326/2.024, allocations: 12.1 MB / 0.8781 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/2.024, allocations: 45.59 kB / 0.8781 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000274/2.024, allocations: 93.28 kB / 0.8782 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004796/2.029, allocations: 1.588 MB / 0.8797 GB, free: 169 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006216/2.035, allocations: 1.673 MB / 0.8814 GB, free: 168.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/2.057, allocations: 19.63 MB / 0.9006 GB, free: 155.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007077/2.064, allocations: 424.6 kB / 0.901 GB, free: 155.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/2.065, allocations: 379.8 kB / 0.9013 GB, free: 155.7 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.009271/2.074, allocations: 5.189 MB / 0.9064 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/2.076, allocations: 0.6367 MB / 0.907 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/2.091, allocations: 9.304 MB / 0.9161 GB, free: 148.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008927/2.1, allocations: 5.86 MB / 0.9218 GB, free: 143.6 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.979e-05/2.1, allocations: 16 kB / 0.9218 GB, free: 143.6 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.847e-05/2.1, allocations: 33.22 kB / 0.9219 GB, free: 143.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04209/2.142, allocations: 21.02 MB / 0.9424 GB, free: 124.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-05/2.142, allocations: 4 kB / 0.9424 GB, free: 124.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003827/2.146, allocations: 0.8704 MB / 0.9432 GB, free: 123.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005029/2.151, allocations: 1.645 MB / 0.9449 GB, free: 122.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001191/2.152, allocations: 135.4 kB / 0.945 GB, free: 121.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02248/2.175, allocations: 23.21 MB / 0.9676 GB, free: 97.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/2.175, allocations: 11.94 kB / 0.9677 GB, free: 97.79 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01979/2.195, allocations: 13.72 MB / 0.9811 GB, free: 83.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004169/2.199, allocations: 1.393 MB / 0.9824 GB, free: 82.29 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/2.2, allocations: 108 kB / 0.9825 GB, free: 82.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004396/2.205, allocations: 279.7 kB / 0.9828 GB, free: 81.91 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/2.206, allocations: 420.3 kB / 0.9832 GB, free: 81.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003657/2.206, allocations: 156 kB / 0.9833 GB, free: 81.35 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00661/2.213, allocations: 3.912 MB / 0.9872 GB, free: 77.46 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/2.213, allocations: 0 / 0.9872 GB, free: 77.46 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01076/2.224, allocations: 2.336 MB / 0.9894 GB, free: 75.13 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,5,100.0%), (1,8,100.0%), (1,13,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.0212/2.245, allocations: 14.51 MB / 1.004 GB, free: 60.27 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01728/2.262, allocations: 9.538 MB / 1.013 GB, free: 50.64 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/2.262, allocations: 3.938 kB / 1.013 GB, free: 50.64 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01004/2.272, allocations: 5.145 MB / 1.018 GB, free: 45.41 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01277/2.285, allocations: 1.652 MB / 1.02 GB, free: 43.82 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4608/2.746, allocations: 80.14 MB / 1.098 GB, free: 164.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02131/2.767, allocations: 8.865 MB / 1.106 GB, free: 161.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0103/2.777, allocations: 2.542 MB / 1.109 GB, free: 161.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01059/2.788, allocations: 5.197 MB / 1.114 GB, free: 156.4 MB / 0.5763 GB Notification: Performance of SimCode: time 1.994e-06/2.788, allocations: 0 / 1.114 GB, free: 156.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5894/3.377, allocations: 189.5 MB / 1.299 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.18/28.56, allocations: 7.344 kB / 1.299 GB, free: 157.9 MB / 0.5919 GB " [Timeout remaining time 631] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 31.77894791199651]