Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00192/0.00192, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002057/0.002057, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.639e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01181/0.01184, allocations: 8.003 MB / 280.2 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005319/0.01716, allocations: 2.603 MB / 282.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007133/0.01787, allocations: 27.88 kB / 282.8 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.01964, allocations: 0.5323 MB / 283.4 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.02124, allocations: 0.5155 MB / 283.9 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006127/0.02185, allocations: 251.7 kB / 284.1 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.02373, allocations: 1.536 MB / 285.7 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006879/0.02442, allocations: 363.2 kB / 286 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.02572, allocations: 0.869 MB / 286.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007869/0.02651, allocations: 482.6 kB / 287.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.02675, allocations: 136 kB / 287.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.02714, allocations: 172 kB / 287.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.02744, allocations: 298.8 kB / 288 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005941/0.02803, allocations: 458.9 kB / 288.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1214/0.1494, allocations: 1.736 MB / 290.1 MB, free: 18.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1494, allocations: 1.094 kB / 290.1 MB, free: 18.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1494, allocations: 2.75 kB / 290.1 MB, free: 18.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.236e-05/0.1495, allocations: 0.9688 kB / 290.1 MB, free: 18.57 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002556/0.152, allocations: 1.601 MB / 291.7 MB, free: 17.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1521, allocations: 12.55 kB / 291.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007533/0.1528, allocations: 271.8 kB / 292 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.1539, allocations: 0.7065 MB / 292.7 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.154, allocations: 74.09 kB / 292.8 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.1541, allocations: 106.7 kB / 292.9 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.1557, allocations: 1.102 MB / 294 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.1558, allocations: 2.453 kB / 294 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-05/0.1558, allocations: 41.41 kB / 294.1 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.1559, allocations: 24 kB / 294.1 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.157, allocations: 0.6093 MB / 294.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005209/0.1622, allocations: 4.708 MB / 299.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.1628, allocations: 353 kB / 299.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.1634, allocations: 257.8 kB / 300 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.1634, allocations: 7.484 kB / 300 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1634, allocations: 44.59 kB / 300 MB, free: 14.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.804e-06/0.1634, allocations: 0 / 300 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.002272/0.1657, allocations: 1.239 MB / 301.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.1657, allocations: 86.36 kB / 301.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.1668, allocations: 0.9817 MB / 302.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1668, allocations: 35.55 kB / 302.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.1671, allocations: 0.6756 MB / 303.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.504e-05/0.1672, allocations: 177.7 kB / 303.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.1674, allocations: 164.1 kB / 303.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1676, allocations: 0.6141 MB / 304 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.1678, allocations: 154.7 kB / 304.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.1683, allocations: 0.6171 MB / 304.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.169, allocations: 0.7975 MB / 305.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.169, allocations: 2.5 kB / 305.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001118/0.1701, allocations: 0.7958 MB / 306.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1701, allocations: 10.06 kB / 306.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1701, allocations: 6.812 kB / 306.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/0.1704, allocations: 91.3 kB / 306.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.1709, allocations: 159 kB / 306.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.1726, allocations: 4.014 MB / 310.6 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.1731, allocations: 36.8 kB / 310.7 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.1731, allocations: 35.38 kB / 310.7 MB, free: 6.305 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002919/0.1734, allocations: 303.7 kB / 311 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.1735, allocations: 99.3 kB / 311.1 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007485/0.1743, allocations: 476 kB / 311.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1743, allocations: 3.469 kB / 311.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1743, allocations: 1.5 kB / 311.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1743, allocations: 4.828 kB / 311.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.1761, allocations: 1.522 MB / 313.1 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1761, allocations: 0 / 313.1 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.1764, allocations: 69.08 kB / 313.2 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.1766, allocations: 89.02 kB / 313.3 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.1766, allocations: 14.41 kB / 313.3 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.1782, allocations: 4.01 MB / 317.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1782, allocations: 4 kB / 317.3 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009339/0.1791, allocations: 0.8378 MB / 318.1 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.1793, allocations: 116.6 kB / 318.2 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.911e-05/0.1794, allocations: 11.94 kB / 318.3 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.1798, allocations: 23.75 kB / 318.3 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.1799, allocations: 38.89 kB / 318.3 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.1799, allocations: 16 kB / 318.3 MB, free: 256 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007321/0.1806, allocations: 0.5988 MB / 318.9 MB, free: 15.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1806, allocations: 0 / 318.9 MB, free: 15.74 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001096/0.1817, allocations: 203.9 kB / 319.1 MB, free: 15.54 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,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.0002363/0.182, allocations: 127 kB / 319.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.1833, allocations: 0.8106 MB / 320.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1833, allocations: 2.344 kB / 320.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.1841, allocations: 0.55 MB / 320.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.1851, allocations: 206.3 kB / 320.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.188, allocations: 1.689 MB / 322.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.1885, allocations: 418.9 kB / 322.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.1888, allocations: 93.7 kB / 323 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.1889, allocations: 56.22 kB / 323.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of SimCode: time 1.183e-06/0.1889, allocations: 4 kB / 323.1 MB, free: 11.85 MB / 282.7 MB Notification: Performance of Templates: time 0.02114/0.21, allocations: 10.1 MB / 333.2 MB, free: 2.016 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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: 4.961054719984531]