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.0009/0.0009, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.0009638/0.0009638, allocations: 166.8 kB / 24.99 MB, free: 8.336 MB / 18.57 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 0.9724/0.9724, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 2.635e-06/2.635e-06, allocations: 0 / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.587e-05/3.85e-05, allocations: 2.312 kB / 273.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01109/0.01112, allocations: 9.66 MB / 282.7 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004532/0.01566, allocations: 3.042 MB / 285.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006246/0.01628, allocations: 59.62 kB / 285.8 MB, free: 5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.01739, allocations: 0.6247 MB / 286.5 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.01884, allocations: 0.8108 MB / 287.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.0194, allocations: 395.3 kB / 287.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001932/0.02133, allocations: 2.528 MB / 290.2 MB, free: 0.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1137/0.135, allocations: 1.001 MB / 291.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.1378, allocations: 1.633 MB / 292.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.1397, allocations: 1.204 MB / 294 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000669/0.1404, allocations: 279.8 kB / 294.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007196/0.1411, allocations: 382 kB / 294.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007212/0.1418, allocations: 0.8135 MB / 295.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.1434, allocations: 0.8876 MB / 296.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.1461, allocations: 2.036 MB / 298.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1461, allocations: 0 / 298.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1461, allocations: 0 / 298.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.79e-05/0.1462, allocations: 1.125 kB / 298.4 MB, free: 15.56 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.004397/0.1506, allocations: 2.726 MB / 301.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1507, allocations: 10.53 kB / 301.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009087/0.1516, allocations: 444.1 kB / 301.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.1533, allocations: 1.271 MB / 302.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.1535, allocations: 145.4 kB / 303 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.1537, allocations: 194.5 kB / 303.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/0.1561, allocations: 1.554 MB / 304.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.71e-05/0.1561, allocations: 9.547 kB / 304.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.1563, allocations: 75.19 kB / 304.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-05/0.1563, allocations: 93.2 kB / 304.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.1577, allocations: 0.7141 MB / 305.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006956/0.1647, allocations: 6.61 MB / 312.2 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008252/0.1655, allocations: 0.6001 MB / 312.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000828/0.1663, allocations: 0.5955 MB / 313.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.1665, allocations: 48.06 kB / 313.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1665, allocations: 50.33 kB / 313.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.868e-06/0.1665, allocations: 0 / 313.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.005281/0.1718, allocations: 3.202 MB / 316.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1718, allocations: 64.41 kB / 316.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00099/0.1728, allocations: 1.073 MB / 317.9 MB, free: 3.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.1729, allocations: 45.7 kB / 317.9 MB, free: 3.168 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.1733, allocations: 1.023 MB / 318.9 MB, free: 2.137 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.1734, allocations: 410.7 kB / 319.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.1737, allocations: 257.2 kB / 319.6 MB, free: 1.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.1738, allocations: 0.5394 MB / 320.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.1741, allocations: 227.8 kB / 320.3 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.1746, allocations: 0.7319 MB / 321.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.1757, allocations: 1.055 MB / 322.1 MB, free: 14.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.1757, allocations: 4.875 kB / 322.1 MB, free: 14.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001955/0.1776, allocations: 1.315 MB / 323.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.1777, allocations: 15.98 kB / 323.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.1777, allocations: 8 kB / 323.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007387/0.1784, allocations: 300.7 kB / 323.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.1791, allocations: 307.9 kB / 324.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004031/0.1831, allocations: 6.728 MB / 330.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/0.1838, allocations: 83.88 kB / 330.9 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.1839, allocations: 59.98 kB / 330.9 MB, free: 5.512 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.0005521/0.1844, allocations: 241.8 kB / 331.2 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.1847, allocations: 175.2 kB / 331.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.1862, allocations: 1.079 MB / 332.4 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.1862, allocations: 12 kB / 332.4 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1862, allocations: 4 kB / 332.4 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1862, allocations: 7.969 kB / 332.4 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/0.1898, allocations: 2.739 MB / 335.2 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.393e-06/0.1898, allocations: 7.938 kB / 335.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/0.1903, allocations: 185.7 kB / 335.4 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008367/0.1911, allocations: 359.9 kB / 335.7 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.1912, allocations: 35.92 kB / 335.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.1959, allocations: 8.551 MB / 344.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1959, allocations: 0 / 344.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.198, allocations: 1.563 MB / 345.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/0.1985, allocations: 255 kB / 346.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.1986, allocations: 28 kB / 346.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.199, allocations: 63.92 kB / 346.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.1992, allocations: 92.33 kB / 346.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.1992, allocations: 39.98 kB / 346.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006859/0.1999, allocations: 0.6306 MB / 347 MB, free: 4.926 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1999, allocations: 0 / 347 MB, free: 4.926 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001191/0.2011, allocations: 440 kB / 347.4 MB, free: 4.496 MB / 298.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%), (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.000294/0.2014, allocations: 190.2 kB / 347.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.2033, allocations: 1.488 MB / 349.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.2033, allocations: 3.984 kB / 349.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.2044, allocations: 1.293 MB / 350.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.2054, allocations: 367.1 kB / 350.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/0.2101, allocations: 3.503 MB / 354.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.2105, allocations: 0.4955 MB / 354.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006016/0.2111, allocations: 247.8 kB / 355 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.2113, allocations: 96.42 kB / 355.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2113, allocations: 0 / 355.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of Templates: time 0.02977/0.2411, allocations: 22.98 MB / 378 MB, free: 6.098 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] 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","",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.4076887629926205]