Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.001147/0.001147, allocations: 79.7 kB / 20.67 MB, free: 3.879 MB / 18.57 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.001401/0.001401, allocations: 170 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.9154/0.9154, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 4 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.307e-05, allocations: 6.219 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.006858/0.006881, allocations: 8.626 MB / 333.2 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004288/0.01117, allocations: 2.937 MB / 336.2 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.01224, allocations: 59.62 kB / 336.2 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.01386, allocations: 0.6324 MB / 336.9 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.01606, allocations: 0.8186 MB / 337.7 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.01686, allocations: 387.3 kB / 338.1 MB, free: 2.395 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002377/0.01924, allocations: 2.528 MB / 340.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.02031, allocations: 0.9976 MB / 341.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.02228, allocations: 1.618 MB / 343.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.02373, allocations: 1.118 MB / 344.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003395/0.02407, allocations: 284 kB / 344.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005135/0.02458, allocations: 375.8 kB / 345 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004927/0.02507, allocations: 0.8062 MB / 345.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008357/0.02591, allocations: 0.8769 MB / 346.6 MB, free: 9.742 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.02867, allocations: 3.704 MB / 350.3 MB, free: 6.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.02867, allocations: 0 / 350.3 MB, free: 6.027 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.02868, allocations: 0 / 350.3 MB, free: 6.027 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.843e-05/0.02874, allocations: 0 / 350.3 MB, free: 6.027 MB / 314.7 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.003441/0.03218, allocations: 2.552 MB / 352.9 MB, free: 3.434 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.03223, allocations: 12.03 kB / 352.9 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002412/0.03247, allocations: 278.6 kB / 353.2 MB, free: 3.141 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.03296, allocations: 287.3 kB / 353.5 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.03457, allocations: 1.297 MB / 354.8 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.576e-05/0.03464, allocations: 140.2 kB / 354.9 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.03484, allocations: 204.2 kB / 355.1 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.0375, allocations: 2.519 MB / 357.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/0.03754, allocations: 11.94 kB / 357.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.03766, allocations: 72 kB / 357.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.504e-05/0.03772, allocations: 91.69 kB / 357.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.03997, allocations: 1.959 MB / 359.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007515/0.04748, allocations: 7.057 MB / 366.8 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.04852, allocations: 1.011 MB / 367.8 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.04954, allocations: 0.9122 MB / 368.7 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.04968, allocations: 44.95 kB / 368.8 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.0497, allocations: 43.56 kB / 368.8 MB, free: 3.145 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 2.485e-06/0.04971, allocations: 0 / 368.8 MB, free: 3.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.007225/0.05693, allocations: 5.5 MB / 374.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.05697, allocations: 60.41 kB / 374.4 MB, free: 13.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.05833, allocations: 1.337 MB / 375.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.0584, allocations: 45.7 kB / 375.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/0.05884, allocations: 0.942 MB / 376.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.05905, allocations: 400.6 kB / 377.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.0593, allocations: 251.5 kB / 377.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.0594, allocations: 365.8 kB / 377.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006423/0.06005, allocations: 0.6364 MB / 378.3 MB, free: 9.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007728/0.06082, allocations: 1.008 MB / 379.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.06229, allocations: 1.731 MB / 381.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.0623, allocations: 0 / 381.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002378/0.06467, allocations: 2.234 MB / 383.3 MB, free: 4.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.0647, allocations: 20 kB / 383.3 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.06471, allocations: 12 kB / 383.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000715/0.06543, allocations: 491.9 kB / 383.8 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.06602, allocations: 307.5 kB / 384.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.07033, allocations: 6.767 MB / 390.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/0.07111, allocations: 83.91 kB / 391 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.07118, allocations: 60.06 kB / 391 MB, free: 12.14 MB / 362.7 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.0007544/0.07193, allocations: 0.5991 MB / 391.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.07212, allocations: 159 kB / 391.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.07415, allocations: 1.949 MB / 393.7 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.07416, allocations: 12 kB / 393.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.07417, allocations: 8 kB / 393.7 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.07417, allocations: 3.984 kB / 393.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.07842, allocations: 3.87 MB / 397.6 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.07843, allocations: 7.938 kB / 397.6 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.07885, allocations: 184 kB / 397.8 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007952/0.07965, allocations: 0.5387 MB / 398.3 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.07971, allocations: 31.98 kB / 398.4 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.08473, allocations: 8.282 MB / 406.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.08474, allocations: 0 / 406.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.0877, allocations: 2.849 MB / 409.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/0.08828, allocations: 286.9 kB / 409.8 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.0884, allocations: 24.17 kB / 409.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.08881, allocations: 75.92 kB / 409.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.08899, allocations: 96.73 kB / 410 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/0.08904, allocations: 32 kB / 410 MB, free: 8.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009288/0.08997, allocations: 0.8918 MB / 410.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08997, allocations: 0 / 410.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0011/0.09107, allocations: 443.9 kB / 411.3 MB, free: 7.156 MB / 378.7 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.003182/0.09425, allocations: 3.475 MB / 414.8 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.09659, allocations: 2.004 MB / 416.8 MB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.0966, allocations: 4 kB / 416.8 MB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.09792, allocations: 1.38 MB / 418.2 MB, free: 124 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.0993, allocations: 414.8 kB / 418.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/0.1181, allocations: 15.57 MB / 434.2 MB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008949/0.119, allocations: 1.084 MB / 435.3 MB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000782/0.1198, allocations: 320.8 kB / 435.6 MB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006947/0.1205, allocations: 0.7229 MB / 436.3 MB, free: 13.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1205, allocations: 0 / 436.3 MB, free: 13.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1824/0.3029, allocations: 42.75 MB / 479 MB, free: 94.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.059, allocations: 7.797 kB / 479 MB, free: 94 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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: 10.639348826371133]