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.0008493/0.0008493, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.00217, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007835/0.0007835, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001242/0.002025, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.9846/0.9846, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1612/1.146, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 8.41e-07/8.41e-07, allocations: 0 / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.907e-06/9.748e-06, allocations: 2.312 kB / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.007896/0.007906, allocations: 9.485 MB / 231.5 MB, free: 6.512 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.01179, allocations: 3.124 MB / 234.6 MB, free: 3.371 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004985/0.01229, allocations: 59.62 kB / 234.7 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008766/0.01317, allocations: 0.6364 MB / 235.3 MB, free: 2.672 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.01425, allocations: 0.8185 MB / 236.1 MB, free: 1.848 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.01466, allocations: 383.3 kB / 236.5 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.01649, allocations: 2.575 MB / 239.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000829/0.01732, allocations: 1.009 MB / 240.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.01883, allocations: 1.915 MB / 242 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009302/0.01976, allocations: 1.15 MB / 243.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.01999, allocations: 268 kB / 243.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.02042, allocations: 367.8 kB / 243.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.02081, allocations: 0.6312 MB / 244.4 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005513/0.02136, allocations: 0.7174 MB / 245.1 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.02303, allocations: 1.853 MB / 247 MB, free: 6.902 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.02304, allocations: 4 kB / 247 MB, free: 6.898 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02304, allocations: 4 kB / 247 MB, free: 6.895 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.02306, allocations: 0 / 247 MB, free: 6.895 MB / 250.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.002498/0.02556, allocations: 2.835 MB / 249.8 MB, free: 4.023 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.02559, allocations: 16.03 kB / 249.8 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005239/0.02612, allocations: 429.7 kB / 250.2 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009749/0.02709, allocations: 0.8569 MB / 251.1 MB, free: 2.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/0.02717, allocations: 144.2 kB / 251.2 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.02736, allocations: 196.2 kB / 251.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.02901, allocations: 1.454 MB / 252.9 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/0.02905, allocations: 7.891 kB / 252.9 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.02915, allocations: 79.98 kB / 253 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.45e-05/0.02922, allocations: 87.69 kB / 253.1 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/0.02995, allocations: 0.5522 MB / 253.6 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005004/0.03495, allocations: 5.234 MB / 258.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.03554, allocations: 0.5713 MB / 259.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009306/0.03647, allocations: 0.5062 MB / 259.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.03659, allocations: 40.98 kB / 260 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.03662, allocations: 43.56 kB / 260 MB, free: 9.441 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.565e-06/0.03662, allocations: 0 / 260 MB, free: 9.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004356/0.04098, allocations: 2.607 MB / 262.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.04101, allocations: 64.39 kB / 262.7 MB, free: 6.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/0.04164, allocations: 0.8861 MB / 263.6 MB, free: 5.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.0417, allocations: 45.7 kB / 263.6 MB, free: 5.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.04204, allocations: 0.7906 MB / 264.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.04224, allocations: 408.4 kB / 264.8 MB, free: 4.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.04247, allocations: 231.4 kB / 265 MB, free: 4.328 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.04257, allocations: 365.8 kB / 265.4 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.04278, allocations: 166.8 kB / 265.5 MB, free: 3.801 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.04314, allocations: 0.5125 MB / 266.1 MB, free: 3.133 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009569/0.04409, allocations: 0.8463 MB / 266.9 MB, free: 2.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.0441, allocations: 4 kB / 266.9 MB, free: 2.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001171/0.04527, allocations: 0.9776 MB / 267.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.04529, allocations: 12 kB / 267.9 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.0453, allocations: 15.98 kB / 267.9 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.0459, allocations: 290.7 kB / 268.2 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.04656, allocations: 319.5 kB / 268.5 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.04941, allocations: 4.808 MB / 273.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.0498, allocations: 43.94 kB / 273.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.04986, allocations: 44 kB / 273.4 MB, free: 11.32 MB / 282.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.0002949/0.05015, allocations: 204.2 kB / 273.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.0503, allocations: 119.9 kB / 273.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.05158, allocations: 0.8323 MB / 274.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.05159, allocations: 12 kB / 274.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.05159, allocations: 4 kB / 274.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.0516, allocations: 3.984 kB / 274.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.05381, allocations: 1.971 MB / 276.5 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.05382, allocations: 4 kB / 276.5 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/0.05427, allocations: 203.8 kB / 276.7 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.05451, allocations: 183 kB / 276.9 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006562/0.05517, allocations: 350.7 kB / 277.3 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/0.05522, allocations: 31.92 kB / 277.3 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/0.05853, allocations: 6.018 MB / 283.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.05853, allocations: 0 / 283.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1182/0.1767, allocations: 1.216 MB / 284.5 MB, free: 45.85 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/0.1771, allocations: 25.83 kB / 284.6 MB, free: 45.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.1775, allocations: 37.34 kB / 284.6 MB, free: 45.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.1777, allocations: 95.64 kB / 284.7 MB, free: 45.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.1778, allocations: 28.34 kB / 284.7 MB, free: 45.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005994/0.1784, allocations: 434.8 kB / 285.1 MB, free: 45.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1784, allocations: 0 / 285.1 MB, free: 45.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00139/0.1798, allocations: 432.2 kB / 285.6 MB, free: 45.81 MB / 282.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.0002959/0.1801, allocations: 161.6 kB / 285.7 MB, free: 45.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.1816, allocations: 1.138 MB / 286.9 MB, free: 45.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.054e-05/0.1816, allocations: 31.62 kB / 286.9 MB, free: 45.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.1829, allocations: 1.109 MB / 288 MB, free: 44.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.1847, allocations: 3.616 MB / 291.6 MB, free: 41.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.1983, allocations: 3.313 MB / 294.9 MB, free: 39.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.1988, allocations: 456.2 kB / 295.4 MB, free: 39.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005176/0.1993, allocations: 180.5 kB / 295.5 MB, free: 39.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006297/0.1999, allocations: 363.7 kB / 295.9 MB, free: 39.53 MB / 282.7 MB Notification: Performance of SimCode: time 1.923e-06/0.1999, allocations: 0 / 295.9 MB, free: 39.53 MB / 282.7 MB Notification: Performance of Templates: time 0.02744/0.2274, allocations: 24.67 MB / 320.6 MB, free: 22.93 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3453449411317706]