Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.001607/0.001607, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.001892/0.001892, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.47/1.47, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 55.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1063, allocations: 53.33 MB / 426.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.2159/0.3223, allocations: 14.33 MB / 440.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009401/0.3317, allocations: 4.7 MB / 445.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.335, allocations: 103.7 kB / 445.5 MB, free: 284 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.3386, allocations: 1.061 MB / 446.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.3444, allocations: 1.336 MB / 447.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.3473, allocations: 0.9357 MB / 448.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006908/0.3542, allocations: 4.136 MB / 452.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004309/0.3585, allocations: 2.254 MB / 455.2 MB, free: 11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/0.363, allocations: 1.951 MB / 457.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005032/0.368, allocations: 2.241 MB / 459.4 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001524/0.3696, allocations: 0.5082 MB / 459.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.3726, allocations: 0.7343 MB / 460.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.3743, allocations: 1.116 MB / 461.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004248/0.3786, allocations: 2.144 MB / 463.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009828/0.3884, allocations: 6.769 MB / 470.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3884, allocations: 4 kB / 470.7 MB, free: 1.789 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3884, allocations: 0 / 470.7 MB, free: 1.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001955/0.3886, allocations: 0 / 470.7 MB, free: 1.789 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.0141/0.4027, allocations: 4.524 MB / 475.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.4027, allocations: 9.625 kB / 475.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001166/0.4039, allocations: 453.9 kB / 475.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.4088, allocations: 0.8325 MB / 476.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005773/0.4146, allocations: 2.466 MB / 478.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.4148, allocations: 247.1 kB / 479.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008653/0.4157, allocations: 327.9 kB / 479.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008662/0.4244, allocations: 4.271 MB / 483.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.463e-05/0.4244, allocations: 7.953 kB / 483.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003462/0.4248, allocations: 132 kB / 483.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/0.4249, allocations: 142.4 kB / 484 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00726/0.4322, allocations: 3.613 MB / 487.7 MB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02458/0.4568, allocations: 13.86 MB / 0.4898 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007486/0.4643, allocations: 6.513 MB / 0.4961 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/0.4669, allocations: 1.281 MB / 0.4974 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007049/0.4739, allocations: 3.898 MB / 0.5012 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.474, allocations: 59.88 kB / 0.5012 GB, free: 8.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 2.835e-06/0.474, allocations: 0 / 0.5012 GB, free: 8.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01296/0.4869, allocations: 5.919 MB / 0.507 GB, free: 2.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.487, allocations: 64.72 kB / 0.5071 GB, free: 2.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/0.4899, allocations: 1.813 MB / 0.5088 GB, free: 380 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.49, allocations: 45.7 kB / 0.5089 GB, free: 328 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.4912, allocations: 1.49 MB / 0.5103 GB, free: 14.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004727/0.4917, allocations: 499.7 kB / 0.5108 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000509/0.4922, allocations: 319.4 kB / 0.5111 GB, free: 14.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4924, allocations: 309.1 kB / 0.5114 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.4935, allocations: 0.6832 MB / 0.5121 GB, free: 13.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.4952, allocations: 1.193 MB / 0.5133 GB, free: 11.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.4982, allocations: 2.01 MB / 0.5152 GB, free: 9.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.4982, allocations: 8 kB / 0.5152 GB, free: 9.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004653/0.5028, allocations: 2.548 MB / 0.5177 GB, free: 6.773 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.5029, allocations: 12 kB / 0.5177 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.5029, allocations: 16 kB / 0.5177 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.504, allocations: 368.1 kB / 0.5181 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.5054, allocations: 375.4 kB / 0.5184 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009179/0.5146, allocations: 8.4 MB / 0.5267 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.5163, allocations: 75.95 kB / 0.5267 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.5165, allocations: 75.98 kB / 0.5268 GB, free: 12.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,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.002174/0.5187, allocations: 1.009 MB / 0.5278 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000578/0.5193, allocations: 206.6 kB / 0.528 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004642/0.5239, allocations: 2.278 MB / 0.5302 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.5239, allocations: 16 kB / 0.5302 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-05/0.524, allocations: 8 kB / 0.5302 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.524, allocations: 3.984 kB / 0.5302 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009684/0.5337, allocations: 5.072 MB / 0.5352 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.5337, allocations: 0 / 0.5352 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/0.5345, allocations: 175.8 kB / 0.5353 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.5361, allocations: 0.5359 MB / 0.5359 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.5362, allocations: 39.98 kB / 0.5359 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/0.5503, allocations: 13.25 MB / 0.5488 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5503, allocations: 4.031 kB / 0.5489 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005911/0.5562, allocations: 3.215 MB / 0.552 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.5573, allocations: 435.7 kB / 0.5524 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004935/0.5578, allocations: 39.92 kB / 0.5524 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.5589, allocations: 63.95 kB / 0.5525 GB, free: 1.395 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/0.5592, allocations: 109.2 kB / 0.5526 GB, free: 1.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.674e-05/0.5593, allocations: 35.98 kB / 0.5526 GB, free: 1.254 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002298/0.5616, allocations: 1.232 MB / 0.5538 GB, free: 32 kB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5616, allocations: 0 / 0.5538 GB, free: 32 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.002804/0.5644, allocations: 0.5898 MB / 0.5544 GB, free: 15.44 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00615/0.5706, allocations: 3.849 MB / 0.5582 GB, free: 11.49 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004047/0.5746, allocations: 2.283 MB / 0.5604 GB, free: 9.133 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.5746, allocations: 0.875 kB / 0.5604 GB, free: 9.133 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002768/0.5774, allocations: 1.682 MB / 0.5621 GB, free: 7.375 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/0.5806, allocations: 0.5482 MB / 0.5626 GB, free: 6.836 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03821/0.6188, allocations: 20.24 MB / 0.5824 GB, free: 1.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/0.6221, allocations: 2.319 MB / 0.5846 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001438/0.6235, allocations: 405.2 kB / 0.585 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/0.6255, allocations: 1.14 MB / 0.5861 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.6255, allocations: 0 / 0.5861 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3449/0.9703, allocations: 54.28 MB / 0.6391 GB, free: 166 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/16.58, allocations: 6.609 kB / 0.6391 GB, free: 166 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 21.510188787942752]