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.00127/0.00127, allocations: 70.27 kB / 21.24 MB, free: 0.5547 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.001329/0.001329, allocations: 158 kB / 24.49 MB, free: 3.875 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.39/1.39, allocations: 173.4 MB / 201.1 MB, free: 12.66 MB / 190.1 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.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.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.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 47.22 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.09416, allocations: 52.16 MB / 371.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01124/0.1054, allocations: 8.585 MB / 380.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006432/0.1118, allocations: 2.867 MB / 383.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.1129, allocations: 59.62 kB / 383.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.1144, allocations: 0.6132 MB / 383.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.1164, allocations: 0.7843 MB / 384.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.1172, allocations: 375.5 kB / 384.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002609/0.1198, allocations: 2.428 MB / 387.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.1212, allocations: 0.9976 MB / 388.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.1227, allocations: 1.106 MB / 389.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.1244, allocations: 1.253 MB / 390.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.1248, allocations: 280 kB / 390.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006746/0.1255, allocations: 367.8 kB / 391.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008112/0.1263, allocations: 0.7791 MB / 392.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.1274, allocations: 1.031 MB / 393.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.1312, allocations: 3.671 MB / 396.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1312, allocations: 3.984 kB / 396.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1312, allocations: 0 / 396.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.763e-05/0.1312, allocations: 4 kB / 396.8 MB, free: 13.98 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004873/0.1361, allocations: 2.556 MB / 399.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1362, allocations: 8.922 kB / 399.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000667/0.1368, allocations: 279.4 kB / 399.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.1393, allocations: 1.294 MB / 400.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.1394, allocations: 140.2 kB / 401 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.1397, allocations: 204.1 kB / 401.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004176/0.1439, allocations: 2.515 MB / 403.8 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-05/0.144, allocations: 3.953 kB / 403.8 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.1442, allocations: 80 kB / 403.8 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.1443, allocations: 95.61 kB / 403.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.1478, allocations: 1.951 MB / 405.9 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.16, allocations: 6.771 MB / 412.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.1616, allocations: 0.9995 MB / 413.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/0.1636, allocations: 0.9161 MB / 414.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.1639, allocations: 40.97 kB / 414.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.1639, allocations: 51.55 kB / 414.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 4.238e-06/0.1639, allocations: 3.938 kB / 414.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01347/0.1774, allocations: 5.489 MB / 420.2 MB, free: 6.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1774, allocations: 64.41 kB / 420.2 MB, free: 6.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.1794, allocations: 1.17 MB / 421.4 MB, free: 4.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.487e-05/0.1795, allocations: 41.7 kB / 421.4 MB, free: 4.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007628/0.1803, allocations: 0.9528 MB / 422.4 MB, free: 3.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.1807, allocations: 412.5 kB / 422.8 MB, free: 3.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/0.1811, allocations: 247.5 kB / 423 MB, free: 3.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1813, allocations: 361.9 kB / 423.4 MB, free: 2.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.1824, allocations: 0.6403 MB / 424 MB, free: 2.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.1838, allocations: 1.005 MB / 425 MB, free: 1.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.1864, allocations: 1.728 MB / 426.8 MB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.1864, allocations: 4 kB / 426.8 MB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004168/0.1906, allocations: 2.226 MB / 429 MB, free: 12.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.1906, allocations: 16.25 kB / 429 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.1906, allocations: 12 kB / 429 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.1919, allocations: 491.9 kB / 429.5 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.1931, allocations: 307.5 kB / 429.8 MB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00782/0.2009, allocations: 6.698 MB / 436.5 MB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.2021, allocations: 91.86 kB / 436.6 MB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.2023, allocations: 52.19 kB / 436.6 MB, free: 4.992 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.001103/0.2034, allocations: 0.6096 MB / 437.2 MB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.2037, allocations: 147 kB / 437.4 MB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.2074, allocations: 1.944 MB / 439.3 MB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.2074, allocations: 12 kB / 439.3 MB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.2074, allocations: 7.938 kB / 439.3 MB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.2074, allocations: 11.97 kB / 439.4 MB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00718/0.2146, allocations: 3.618 MB / 443 MB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.2146, allocations: 4 kB / 443 MB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008581/0.2155, allocations: 180 kB / 443.2 MB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.2171, allocations: 0.5387 MB / 443.7 MB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.2172, allocations: 31.98 kB / 443.7 MB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009351/0.2265, allocations: 8.193 MB / 451.9 MB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.2265, allocations: 7.969 kB / 451.9 MB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00533/0.2319, allocations: 2.824 MB / 454.8 MB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009213/0.2328, allocations: 275 kB / 455 MB, free: 2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/0.2331, allocations: 27.98 kB / 455 MB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009272/0.234, allocations: 75.92 kB / 455.1 MB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.2343, allocations: 92.8 kB / 455.2 MB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.735e-05/0.2344, allocations: 28 kB / 455.2 MB, free: 1.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001413/0.2358, allocations: 0.7828 MB / 456 MB, free: 0.9922 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2358, allocations: 0 / 456 MB, free: 0.9922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001796/0.2376, allocations: 439.9 kB / 456.5 MB, free: 0.5625 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.0004272/0.238, allocations: 188 kB / 456.6 MB, free: 380 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003665/0.2417, allocations: 2.01 MB / 458.6 MB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.2417, allocations: 3.938 kB / 458.7 MB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/0.2441, allocations: 1.385 MB / 460 MB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.246, allocations: 348.1 kB / 460.4 MB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007828/0.2538, allocations: 4.155 MB / 464.5 MB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.2555, allocations: 1.072 MB / 465.6 MB, free: 7.199 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001097/0.2566, allocations: 307.7 kB / 465.9 MB, free: 6.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/0.257, allocations: 88.48 kB / 466 MB, free: 6.809 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.257, allocations: 8 kB / 466 MB, free: 6.801 MB / 430.1 MB Notification: Performance of Templates: time 0.2085/0.4655, allocations: 22.82 MB / 488.8 MB, free: 85.45 MB / 430.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] 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: 5.493981375009753]