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.001017/0.001017, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001254/0.001254, allocations: 149.9 kB / 24.81 MB, free: 8.934 MB / 18.57 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 0.9466/0.9466, allocations: 173.4 MB / 201.5 MB, free: 8.312 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 268.4 MB, free: 9.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.718e-05, allocations: 6.25 kB / 268.4 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.008358/0.008375, allocations: 9.411 MB / 277.8 MB, free: 304 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004678/0.01305, allocations: 2.952 MB / 280.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.01379, allocations: 59.62 kB / 280.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.0149, allocations: 0.6208 MB / 281.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.01632, allocations: 0.8225 MB / 282.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.01686, allocations: 375.3 kB / 282.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.01877, allocations: 2.513 MB / 285.2 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.01978, allocations: 1.005 MB / 286.2 MB, free: 7.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.02158, allocations: 1.77 MB / 287.9 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.02276, allocations: 1.161 MB / 289.1 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003464/0.02311, allocations: 268 kB / 289.4 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005163/0.02362, allocations: 359.8 kB / 289.7 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000482/0.0241, allocations: 0.7829 MB / 290.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006478/0.02475, allocations: 0.8653 MB / 291.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.02622, allocations: 1.982 MB / 293.4 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.02622, allocations: 0 / 293.4 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.02622, allocations: 3.938 kB / 293.4 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.02624, allocations: 4 kB / 293.4 MB, free: 0.6953 MB / 266.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.002485/0.02873, allocations: 2.612 MB / 296 MB, free: 14.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.02876, allocations: 12.03 kB / 296 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005157/0.02928, allocations: 427.4 kB / 296.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.03039, allocations: 1.199 MB / 297.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.06e-05/0.03047, allocations: 148 kB / 297.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.03065, allocations: 204.3 kB / 297.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.03207, allocations: 1.434 MB / 299.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.0321, allocations: 11.88 kB / 299.4 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.03221, allocations: 72 kB / 299.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/0.03227, allocations: 91.69 kB / 299.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.03301, allocations: 0.5625 MB / 300.1 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006887/0.0399, allocations: 6.432 MB / 306.5 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.04066, allocations: 0.566 MB / 307.1 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008416/0.0415, allocations: 0.5363 MB / 307.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.04162, allocations: 36.98 kB / 307.7 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.04165, allocations: 46.39 kB / 307.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 2.765e-06/0.04165, allocations: 0 / 307.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.004928/0.04658, allocations: 2.578 MB / 310.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.04662, allocations: 68.41 kB / 310.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009818/0.0476, allocations: 1.037 MB / 311.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.04766, allocations: 45.7 kB / 311.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005868/0.04824, allocations: 1.03 MB / 312.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.04851, allocations: 416.5 kB / 312.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.04882, allocations: 257 kB / 313.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.049, allocations: 0.5471 MB / 313.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.04928, allocations: 171.8 kB / 313.9 MB, free: 11.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.04983, allocations: 0.6868 MB / 314.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009608/0.05079, allocations: 0.9529 MB / 315.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.0508, allocations: 4 kB / 315.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001764/0.05256, allocations: 1.194 MB / 316.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.05258, allocations: 8.312 kB / 316.7 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.0526, allocations: 16 kB / 316.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007687/0.05337, allocations: 285.1 kB / 317 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/0.05404, allocations: 275.5 kB / 317.3 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.05836, allocations: 6.545 MB / 323.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.05886, allocations: 47.94 kB / 323.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.05893, allocations: 44 kB / 323.9 MB, free: 0.8086 MB / 298.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.0003346/0.05927, allocations: 244.2 kB / 324.1 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.05949, allocations: 179.1 kB / 324.3 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.06093, allocations: 0.9699 MB / 325.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.06094, allocations: 12 kB / 325.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.06095, allocations: 7.984 kB / 325.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.06096, allocations: 3.984 kB / 325.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.06409, allocations: 2.269 MB / 327.6 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.0641, allocations: 4 kB / 327.6 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/0.06457, allocations: 160.1 kB / 327.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008/0.06537, allocations: 337.9 kB / 328.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/0.06543, allocations: 31.97 kB / 328.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004833/0.07027, allocations: 8.277 MB / 336.4 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.07027, allocations: 7.938 kB / 336.4 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.07239, allocations: 1.392 MB / 337.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.07273, allocations: 227 kB / 338 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.07285, allocations: 27.98 kB / 338 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.07325, allocations: 43.98 kB / 338.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.07341, allocations: 92.7 kB / 338.2 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.07346, allocations: 27.98 kB / 338.2 MB, free: 1.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005189/0.07398, allocations: 0.5716 MB / 338.8 MB, free: 1.262 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07398, allocations: 0 / 338.8 MB, free: 1.262 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001059/0.07504, allocations: 431.9 kB / 339.2 MB, free: 0.8398 MB / 314.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002619/0.0753, allocations: 192.8 kB / 339.4 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.0768, allocations: 1.362 MB / 340.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.0768, allocations: 4 kB / 340.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.07788, allocations: 1.187 MB / 341.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.079, allocations: 363.8 kB / 342.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.08365, allocations: 3.463 MB / 345.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.0841, allocations: 496 kB / 346.2 MB, free: 9.531 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004669/0.08457, allocations: 175.9 kB / 346.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006624/0.08523, allocations: 410 kB / 346.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.08523, allocations: 3.938 kB / 346.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of Templates: time 0.1371/0.2223, allocations: 23.59 MB / 370.4 MB, free: 73.12 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3992279898375273]