Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 117.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_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_trunk_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.001869/0.001869, allocations: 59.91 kB / 373.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1172, allocations: 53.31 MB / 426.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.2353/0.3525, allocations: 14.34 MB / 441 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009219/0.3617, allocations: 4.696 MB / 445.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.3646, allocations: 84.19 kB / 445.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.3676, allocations: 1.058 MB / 446.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004762/0.3724, allocations: 1.339 MB / 448.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.3751, allocations: 0.9344 MB / 449.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006806/0.3819, allocations: 4.14 MB / 453.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003632/0.3855, allocations: 2.258 MB / 455.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/0.3896, allocations: 1.912 MB / 457.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005099/0.3947, allocations: 2.243 MB / 459.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.3968, allocations: 0.5081 MB / 460.2 MB, free: 9.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003146/0.3999, allocations: 0.7325 MB / 460.9 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001702/0.4016, allocations: 1.126 MB / 462.1 MB, free: 8.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003721/0.4053, allocations: 2.143 MB / 464.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009282/0.4146, allocations: 6.764 MB / 471 MB, free: 2.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4146, allocations: 1.312 kB / 471 MB, free: 2.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4146, allocations: 0 / 471 MB, free: 2.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001762/0.4148, allocations: 3.938 kB / 471 MB, free: 2.074 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.01268/0.4275, allocations: 4.52 MB / 475.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4275, allocations: 14.25 kB / 475.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00071/0.4283, allocations: 458.2 kB / 475.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/0.4326, allocations: 0.8281 MB / 476.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005372/0.438, allocations: 2.463 MB / 479.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.4382, allocations: 242 kB / 479.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006031/0.4388, allocations: 335.9 kB / 479.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007814/0.4466, allocations: 4.267 MB / 484.1 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.657e-05/0.4467, allocations: 7.953 kB / 484.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/0.447, allocations: 132 kB / 484.2 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001543/0.4472, allocations: 146.4 kB / 484.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007074/0.4542, allocations: 3.614 MB / 488 MB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/0.4792, allocations: 13.85 MB / 0.49 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007217/0.4865, allocations: 6.522 MB / 0.4964 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/0.4891, allocations: 1.288 MB / 0.4977 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008051/0.4971, allocations: 3.891 MB / 0.5015 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.4972, allocations: 51.88 kB / 0.5015 GB, free: 8.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.196e-06/0.4972, allocations: 0 / 0.5015 GB, free: 8.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01306/0.5102, allocations: 5.919 MB / 0.5073 GB, free: 2.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.5103, allocations: 64.72 kB / 0.5074 GB, free: 2.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/0.5139, allocations: 1.813 MB / 0.5091 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.514, allocations: 49.7 kB / 0.5092 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.5153, allocations: 1.494 MB / 0.5106 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005326/0.5158, allocations: 0.4958 MB / 0.5111 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006111/0.5165, allocations: 319.4 kB / 0.5114 GB, free: 14.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5166, allocations: 305.1 kB / 0.5117 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.5178, allocations: 0.6754 MB / 0.5124 GB, free: 13.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.5195, allocations: 1.201 MB / 0.5136 GB, free: 11.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00304/0.5225, allocations: 2.007 MB / 0.5155 GB, free: 9.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/0.5226, allocations: 4 kB / 0.5155 GB, free: 9.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004723/0.5273, allocations: 2.544 MB / 0.518 GB, free: 7.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.5273, allocations: 12 kB / 0.518 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/0.5273, allocations: 16 kB / 0.518 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.5284, allocations: 364.3 kB / 0.5184 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.5298, allocations: 379.4 kB / 0.5187 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008921/0.5387, allocations: 8.414 MB / 0.527 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.5404, allocations: 75.95 kB / 0.527 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/0.5407, allocations: 76.09 kB / 0.5271 GB, free: 13.22 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.002301/0.543, allocations: 1.005 MB / 0.5281 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/0.5436, allocations: 206.6 kB / 0.5283 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004643/0.5482, allocations: 2.278 MB / 0.5305 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.5482, allocations: 15.98 kB / 0.5305 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.014e-05/0.5483, allocations: 8 kB / 0.5305 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.5483, allocations: 3.984 kB / 0.5305 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.5592, allocations: 5.075 MB / 0.5355 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.5592, allocations: 4 kB / 0.5355 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008309/0.56, allocations: 179.9 kB / 0.5357 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.5616, allocations: 0.5275 MB / 0.5362 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.5617, allocations: 39.92 kB / 0.5362 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/0.5771, allocations: 13.25 MB / 0.5492 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5771, allocations: 0 / 0.5492 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006229/0.5833, allocations: 3.211 MB / 0.5523 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.5847, allocations: 439.6 kB / 0.5527 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006569/0.5854, allocations: 43.92 kB / 0.5528 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.5866, allocations: 67.95 kB / 0.5528 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/0.587, allocations: 101.2 kB / 0.5529 GB, free: 1.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.5871, allocations: 39.98 kB / 0.553 GB, free: 1.559 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002572/0.5897, allocations: 1.228 MB / 0.5542 GB, free: 348 kB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5897, allocations: 8 kB / 0.5542 GB, free: 340 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.003114/0.5928, allocations: 0.5782 MB / 0.5547 GB, free: 15.75 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.006309/0.5991, allocations: 3.838 MB / 0.5585 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004182/0.6033, allocations: 2.288 MB / 0.5607 GB, free: 9.453 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.6033, allocations: 4.062 kB / 0.5607 GB, free: 9.449 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00281/0.6061, allocations: 1.679 MB / 0.5624 GB, free: 7.691 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/0.6095, allocations: 0.5449 MB / 0.5629 GB, free: 7.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04105/0.6506, allocations: 20.24 MB / 0.5827 GB, free: 2.184 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003302/0.6539, allocations: 2.315 MB / 0.5849 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001556/0.6554, allocations: 409.1 kB / 0.5853 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/0.6573, allocations: 1.141 MB / 0.5864 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.6573, allocations: 0 / 0.5864 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4074/1.065, allocations: 54.27 MB / 0.6394 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.4, allocations: 13.98 kB / 0.6394 GB, free: 166.6 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 20.98401497490704]