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.001692/0.001692, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.002087/0.002087, allocations: 163.8 kB / 23.95 MB, free: 4.168 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.479/1.479, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.906e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.018/0.01803, allocations: 8.65 MB / 333.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007506/0.02553, allocations: 2.929 MB / 336.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.02745, allocations: 64.81 kB / 336.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.02974, allocations: 0.6242 MB / 337.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.03412, allocations: 0.8197 MB / 338.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.03556, allocations: 393 kB / 338.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004233/0.0398, allocations: 2.526 MB / 341.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.04199, allocations: 0.9976 MB / 342.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.04556, allocations: 1.622 MB / 343.7 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.04827, allocations: 1.118 MB / 344.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007379/0.04901, allocations: 276 kB / 345.1 MB, free: 1.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.05045, allocations: 383.8 kB / 345.5 MB, free: 0.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.05172, allocations: 0.8023 MB / 346.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.05431, allocations: 0.877 MB / 347.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006576/0.06089, allocations: 3.708 MB / 350.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.0609, allocations: 0 / 350.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.0609, allocations: 0 / 350.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001925/0.06109, allocations: 0 / 350.9 MB, free: 11.27 MB / 318.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.008051/0.06914, allocations: 2.556 MB / 353.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.06919, allocations: 12.03 kB / 353.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.07045, allocations: 283.3 kB / 353.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/0.07364, allocations: 1.297 MB / 355 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.07381, allocations: 144.1 kB / 355.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005705/0.07438, allocations: 188.3 kB / 355.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005121/0.0795, allocations: 2.527 MB / 357.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.053e-05/0.07956, allocations: 7.938 kB / 357.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.07977, allocations: 80 kB / 357.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.07988, allocations: 87.69 kB / 358 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/0.08352, allocations: 1.958 MB / 360 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.0962, allocations: 6.763 MB / 366.7 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.09803, allocations: 1.014 MB / 367.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.1001, allocations: 0.9055 MB / 368.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.1003, allocations: 44.97 kB / 368.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.1003, allocations: 47.5 kB / 368.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 3.257e-06/0.1003, allocations: 0 / 368.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01457/0.1149, allocations: 5.496 MB / 374.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.115, allocations: 64.34 kB / 374.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.1172, allocations: 1.178 MB / 375.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.1173, allocations: 45.7 kB / 375.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009646/0.1183, allocations: 0.9411 MB / 376.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004977/0.1187, allocations: 404.6 kB / 376.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005087/0.1193, allocations: 259.4 kB / 377.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002571/0.1195, allocations: 361.9 kB / 377.5 MB, free: 144 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.1206, allocations: 0.6364 MB / 378.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.122, allocations: 1.001 MB / 379.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/0.1246, allocations: 1.739 MB / 380.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.1246, allocations: 0 / 380.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004397/0.129, allocations: 2.226 MB / 383.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.1291, allocations: 8 kB / 383.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.1291, allocations: 15.98 kB / 383.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.1304, allocations: 494.8 kB / 383.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.1316, allocations: 303.5 kB / 383.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007993/0.1396, allocations: 6.691 MB / 390.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.141, allocations: 95.86 kB / 390.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.1411, allocations: 56 kB / 390.7 MB, free: 2.258 MB / 350.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.001203/0.1423, allocations: 0.5984 MB / 391.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.1427, allocations: 147.2 kB / 391.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.1467, allocations: 1.94 MB / 393.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.1467, allocations: 15.94 kB / 393.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1467, allocations: 4 kB / 393.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.1467, allocations: 7.969 kB / 393.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007024/0.1537, allocations: 3.638 MB / 397.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.1537, allocations: 0 / 397.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008982/0.1546, allocations: 187.7 kB / 397.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.1562, allocations: 0.539 MB / 397.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.271e-05/0.1563, allocations: 27.98 kB / 397.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009335/0.1657, allocations: 8.198 MB / 406 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1657, allocations: 4 kB / 406 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/0.1707, allocations: 2.84 MB / 408.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008123/0.1715, allocations: 267 kB / 409.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.1717, allocations: 27.98 kB / 409.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008051/0.1725, allocations: 67.92 kB / 409.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/0.1728, allocations: 96.8 kB / 409.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.768e-05/0.1729, allocations: 32.05 kB / 409.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001272/0.1741, allocations: 0.7869 MB / 410.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1741, allocations: 4 kB / 410.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001639/0.1758, allocations: 432 kB / 410.5 MB, free: 13.82 MB / 382.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.0004533/0.1762, allocations: 194.9 kB / 410.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003845/0.1801, allocations: 2.004 MB / 412.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1801, allocations: 0 / 412.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002563/0.1826, allocations: 1.38 MB / 414.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.1847, allocations: 358.8 kB / 414.5 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007701/0.1924, allocations: 3.94 MB / 418.4 MB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.1938, allocations: 1.068 MB / 419.5 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001054/0.1949, allocations: 315.7 kB / 419.8 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.1952, allocations: 96.48 kB / 419.9 MB, free: 4.277 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1952, allocations: 0 / 419.9 MB, free: 4.277 MB / 382.1 MB Notification: Performance of Templates: time 0.04279/0.238, allocations: 22.77 MB / 442.7 MB, free: 13.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3418892323970795]