Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.001587/0.001587, allocations: 82.27 kB / 21.43 MB, free: 296 kB / 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.001828/0.001828, allocations: 161.2 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.541e-05, allocations: 2.281 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.0112/0.01123, allocations: 8.541 MB / 307.5 MB, free: 120 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00617/0.0174, allocations: 2.906 MB / 310.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.01862, allocations: 47.69 kB / 310.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.02045, allocations: 0.6208 MB / 311.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.02293, allocations: 0.8148 MB / 311.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009518/0.02389, allocations: 387.3 kB / 312.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003463/0.02735, allocations: 2.556 MB / 314.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.02891, allocations: 0.9855 MB / 315.8 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.03119, allocations: 1.606 MB / 317.4 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.03299, allocations: 1.11 MB / 318.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004316/0.03342, allocations: 280 kB / 318.8 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007033/0.03412, allocations: 371.8 kB / 319.2 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008492/0.03497, allocations: 0.8101 MB / 320 MB, free: 3.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.0361, allocations: 0.8692 MB / 320.9 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1369/0.173, allocations: 3.688 MB / 324.5 MB, free: 20.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.173, allocations: 0 / 324.5 MB, free: 20.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.173, allocations: 1.25 kB / 324.5 MB, free: 20.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001344/0.1731, allocations: 1.234 kB / 324.5 MB, free: 20.33 MB / 302.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.005197/0.1783, allocations: 2.539 MB / 327.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1783, allocations: 13.95 kB / 327.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007218/0.1791, allocations: 273.2 kB / 327.4 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.1811, allocations: 1.209 MB / 328.6 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.1812, allocations: 144.3 kB / 328.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/0.1815, allocations: 188.5 kB / 328.9 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003989/0.1855, allocations: 2.519 MB / 331.4 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.033e-05/0.1856, allocations: 9.766 kB / 331.4 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.1858, allocations: 87 kB / 331.5 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-05/0.1859, allocations: 89.59 kB / 331.6 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.1891, allocations: 1.953 MB / 333.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009287/0.1984, allocations: 6.766 MB / 340.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.1997, allocations: 1.001 MB / 341.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.2013, allocations: 0.9113 MB / 342.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.2015, allocations: 50.81 kB / 342.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.2015, allocations: 44.97 kB / 342.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.965e-06/0.2015, allocations: 0 / 342.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01048/0.212, allocations: 5.509 MB / 347.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.212, allocations: 60.22 kB / 347.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.2132, allocations: 1.168 MB / 349.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/0.2133, allocations: 44.64 kB / 349.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.2137, allocations: 0.949 MB / 350.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.2139, allocations: 409.7 kB / 350.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/0.2142, allocations: 247.1 kB / 350.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.2143, allocations: 356.1 kB / 351 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007948/0.215, allocations: 0.6396 MB / 351.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008808/0.2159, allocations: 1.007 MB / 352.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.2177, allocations: 1.731 MB / 354.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.2177, allocations: 4 kB / 354.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002961/0.2207, allocations: 2.229 MB / 356.7 MB, free: 3.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.2207, allocations: 8 kB / 356.7 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.2207, allocations: 12 kB / 356.7 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.2217, allocations: 495.7 kB / 357.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009727/0.2227, allocations: 303.6 kB / 357.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007299/0.23, allocations: 6.702 MB / 364.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.2312, allocations: 90 kB / 364.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.2314, allocations: 59.98 kB / 364.3 MB, free: 11.12 MB / 318.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.001202/0.2326, allocations: 0.6002 MB / 364.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.233, allocations: 143.2 kB / 365 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.2369, allocations: 1.937 MB / 367 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.2369, allocations: 16 kB / 367 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.2369, allocations: 4 kB / 367 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.2369, allocations: 3.984 kB / 367 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007185/0.2441, allocations: 3.625 MB / 370.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.2441, allocations: 4 kB / 370.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008651/0.245, allocations: 190.3 kB / 370.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.2465, allocations: 0.534 MB / 371.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.2467, allocations: 31.98 kB / 371.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009897/0.2566, allocations: 8.191 MB / 379.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.2566, allocations: 4 kB / 379.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005077/0.2616, allocations: 2.829 MB / 382.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/0.2625, allocations: 270.9 kB / 382.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.2628, allocations: 27.98 kB / 382.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/0.2636, allocations: 67.92 kB / 382.8 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.2638, allocations: 88.11 kB / 382.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.575e-05/0.2639, allocations: 39.92 kB / 382.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00127/0.2652, allocations: 0.7831 MB / 383.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2652, allocations: 0 / 383.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001599/0.2668, allocations: 440 kB / 384.1 MB, free: 6.883 MB / 334.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.0003901/0.2672, allocations: 184.8 kB / 384.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003547/0.2707, allocations: 2 MB / 386.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.2707, allocations: 0 / 386.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.2731, allocations: 1.385 MB / 387.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.2749, allocations: 361.5 kB / 388 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/0.2819, allocations: 3.94 MB / 392 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.2834, allocations: 1.072 MB / 393 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001064/0.2845, allocations: 303.8 kB / 393.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.2849, allocations: 92.48 kB / 393.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.2849, allocations: 4 kB / 393.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Templates: time 0.04189/0.3267, allocations: 22.69 MB / 416.1 MB, free: 6.793 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.092443346977234]