Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001458/0.001458, allocations: 112 kB / 20.43 MB, free: 1.449 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.001696/0.001696, allocations: 190.2 kB / 23.72 MB, free: 4.684 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.388/1.388, allocations: 225.6 MB / 252.5 MB, free: 13.05 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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 43.92 kB / 370.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2559, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01244/0.2683, allocations: 9.799 MB / 432.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006204/0.2745, allocations: 3.033 MB / 435.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.2757, allocations: 59.62 kB / 435.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.2776, allocations: 0.6677 MB / 436.2 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.2804, allocations: 0.7999 MB / 437 MB, free: 200 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.2815, allocations: 371.5 kB / 437.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003728/0.2853, allocations: 2.424 MB / 439.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.2871, allocations: 1.045 MB / 440.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.289, allocations: 1.102 MB / 441.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.2912, allocations: 1.35 MB / 443.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004388/0.2917, allocations: 280 kB / 443.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000718/0.2924, allocations: 371.8 kB / 443.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000831/0.2932, allocations: 0.7946 MB / 444.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.2947, allocations: 1.26 MB / 446 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.2987, allocations: 3.651 MB / 449.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2987, allocations: 0 / 449.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2987, allocations: 0 / 449.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.489e-05/0.2988, allocations: 0 / 449.6 MB, free: 3.48 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00481/0.3036, allocations: 2.572 MB / 452.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3036, allocations: 15.97 kB / 452.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003423/0.304, allocations: 278.6 kB / 452.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/0.3046, allocations: 271.4 kB / 452.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.3069, allocations: 1.29 MB / 454 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.307, allocations: 144.1 kB / 454.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.3073, allocations: 199.9 kB / 454.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003877/0.3112, allocations: 2.415 MB / 456.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-05/0.3112, allocations: 7.953 kB / 456.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.3114, allocations: 76 kB / 456.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-05/0.3115, allocations: 87.69 kB / 457 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00332/0.3148, allocations: 1.966 MB / 458.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.327, allocations: 7.633 MB / 466.6 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.3288, allocations: 0.998 MB / 467.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.3306, allocations: 0.921 MB / 468.5 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.3308, allocations: 40.97 kB / 468.5 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.3308, allocations: 51.55 kB / 468.6 MB, free: 148 kB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.725e-06/0.3308, allocations: 0 / 468.6 MB, free: 148 kB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.0123/0.3431, allocations: 5.512 MB / 474.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.3432, allocations: 68.34 kB / 474.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.3452, allocations: 1.298 MB / 475.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.903e-05/0.3453, allocations: 45.7 kB / 475.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007683/0.3461, allocations: 0.9419 MB / 476.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/0.3464, allocations: 416.5 kB / 476.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/0.3468, allocations: 251.5 kB / 477.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.347, allocations: 361.9 kB / 477.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.348, allocations: 0.6325 MB / 478.1 MB, free: 6.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.3494, allocations: 1 MB / 479.1 MB, free: 5.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.3521, allocations: 1.735 MB / 480.8 MB, free: 3.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.3521, allocations: 7.938 kB / 480.8 MB, free: 3.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004007/0.3561, allocations: 2.246 MB / 483.1 MB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.3562, allocations: 8 kB / 483.1 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.3562, allocations: 12 kB / 483.1 MB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.3574, allocations: 0.4884 MB / 483.6 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.3585, allocations: 299.5 kB / 483.9 MB, free: 432 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007758/0.3663, allocations: 6.825 MB / 490.7 MB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.3675, allocations: 79.92 kB / 490.8 MB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.3676, allocations: 59.98 kB / 490.8 MB, free: 9.121 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001354/0.3689, allocations: 0.5989 MB / 491.4 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.3693, allocations: 155 kB / 491.6 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.3728, allocations: 1.957 MB / 493.5 MB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.3728, allocations: 12 kB / 493.5 MB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.04e-05/0.3729, allocations: 4 kB / 493.5 MB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.3729, allocations: 11.97 kB / 493.6 MB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007639/0.3805, allocations: 4.073 MB / 497.6 MB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3805, allocations: 4 kB / 497.6 MB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/0.3814, allocations: 179.8 kB / 497.8 MB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.3828, allocations: 0.539 MB / 498.3 MB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-05/0.3829, allocations: 35.92 kB / 498.4 MB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009061/0.392, allocations: 8.35 MB / 0.4949 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.392, allocations: 8 kB / 0.4949 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004864/0.3968, allocations: 2.844 MB / 0.4976 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009191/0.3978, allocations: 278.9 kB / 0.4979 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003456/0.3981, allocations: 28 kB / 0.4979 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008921/0.399, allocations: 71.92 kB / 0.498 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.3992, allocations: 92.8 kB / 0.4981 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/0.3993, allocations: 35.98 kB / 0.4981 GB, free: 5.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.4008, allocations: 0.8878 MB / 0.499 GB, free: 4.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4008, allocations: 0 / 0.499 GB, free: 4.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001644/0.4025, allocations: 432 kB / 0.4994 GB, free: 3.891 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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): 81 * 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 {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005275/0.4078, allocations: 3.48 MB / 0.5028 GB, free: 348 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003687/0.4115, allocations: 2.026 MB / 0.5048 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4115, allocations: 0 / 0.5048 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002299/0.4138, allocations: 1.37 MB / 0.5061 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.4159, allocations: 421.6 kB / 0.5065 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02912/0.4451, allocations: 15.68 MB / 0.5218 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.4468, allocations: 1.654 MB / 0.5234 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001045/0.4478, allocations: 316.8 kB / 0.5237 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.4489, allocations: 0.7219 MB / 0.5245 GB, free: 9.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.814e-06/0.4489, allocations: 0 / 0.5245 GB, free: 9.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3155/0.7645, allocations: 40.86 MB / 0.5644 GB, free: 90.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.36/22.13, allocations: 7.875 kB / 0.5644 GB, free: 90.89 MB / 446.1 MB " [Timeout remaining time 638] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 25.67137804813683]