Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001459/0.001459, allocations: 84.53 kB / 21.44 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.001639/0.001639, allocations: 161.5 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.309/1.309, allocations: 158.6 MB / 186.5 MB, free: 6.406 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.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.527e-05, allocations: 2.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009431/0.009456, allocations: 7.005 MB / 306 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00468/0.01414, allocations: 2.459 MB / 308.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.01481, allocations: 31.88 kB / 308.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.01625, allocations: 0.5168 MB / 309 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.01726, allocations: 0.5039 MB / 309.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.01772, allocations: 247.7 kB / 309.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.0194, allocations: 1.482 MB / 311.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006822/0.02008, allocations: 379.2 kB / 311.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.02121, allocations: 0.8378 MB / 312.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006445/0.02186, allocations: 430.6 kB / 312.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.02207, allocations: 136 kB / 313 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.02244, allocations: 167.9 kB / 313.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.02268, allocations: 278.9 kB / 313.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005335/0.02322, allocations: 458.9 kB / 313.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.02505, allocations: 1.698 MB / 315.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.02505, allocations: 3.938 kB / 315.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02505, allocations: 0 / 315.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.02507, allocations: 0 / 315.5 MB, free: 8.035 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002602/0.02768, allocations: 1.38 MB / 316.9 MB, free: 6.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.02772, allocations: 15.98 kB / 316.9 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.0283, allocations: 180 kB / 317.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.02949, allocations: 0.6573 MB / 317.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/0.02956, allocations: 70 kB / 317.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.0297, allocations: 99.95 kB / 317.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.03142, allocations: 1.002 MB / 318.9 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.03145, allocations: 0 / 318.9 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.639e-05/0.03154, allocations: 40 kB / 319 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.03156, allocations: 24 kB / 319 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.03283, allocations: 0.6207 MB / 319.6 MB, free: 3.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00507/0.0379, allocations: 3.345 MB / 323 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.03853, allocations: 278.4 kB / 323.2 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1356/0.1741, allocations: 131.7 kB / 323.4 MB, free: 34.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.479e-05/0.1742, allocations: 3.5 kB / 323.4 MB, free: 34.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1742, allocations: 37.31 kB / 323.4 MB, free: 34.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.545e-06/0.1742, allocations: 0 / 323.4 MB, free: 34.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002393/0.1766, allocations: 1.044 MB / 324.5 MB, free: 34.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1766, allocations: 81.58 kB / 324.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009181/0.1775, allocations: 0.7533 MB / 325.3 MB, free: 33.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1776, allocations: 32.11 kB / 325.3 MB, free: 33.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.1778, allocations: 0.5841 MB / 325.9 MB, free: 33.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.1779, allocations: 138 kB / 326 MB, free: 33.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.1781, allocations: 126.2 kB / 326.2 MB, free: 33.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1782, allocations: 384.2 kB / 326.5 MB, free: 32.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.1785, allocations: 143.7 kB / 326.7 MB, free: 32.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.179, allocations: 485.7 kB / 327.2 MB, free: 32.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008371/0.1798, allocations: 0.6307 MB / 327.8 MB, free: 31.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.1798, allocations: 3.438 kB / 327.8 MB, free: 31.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001204/0.181, allocations: 0.6912 MB / 328.5 MB, free: 31.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.181, allocations: 8.75 kB / 328.5 MB, free: 31.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.181, allocations: 13.62 kB / 328.5 MB, free: 31.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.1812, allocations: 33.53 kB / 328.5 MB, free: 31.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.1818, allocations: 160 kB / 328.7 MB, free: 31.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007938/0.1826, allocations: 1.258 MB / 329.9 MB, free: 30.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/0.1831, allocations: 38.38 kB / 330 MB, free: 30.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.1832, allocations: 33.59 kB / 330 MB, free: 30.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003723/0.1835, allocations: 259.7 kB / 330.3 MB, free: 29.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1836, allocations: 83.27 kB / 330.4 MB, free: 29.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/0.1844, allocations: 372.2 kB / 330.7 MB, free: 29.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1844, allocations: 4.438 kB / 330.7 MB, free: 29.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1844, allocations: 2.359 kB / 330.7 MB, free: 29.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1844, allocations: 1.969 kB / 330.7 MB, free: 29.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.186, allocations: 1.038 MB / 331.8 MB, free: 29.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.186, allocations: 5 kB / 331.8 MB, free: 29.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.1863, allocations: 77.89 kB / 331.8 MB, free: 29.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.001e-05/0.1864, allocations: 22.7 kB / 331.9 MB, free: 29.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.1864, allocations: 9.906 kB / 331.9 MB, free: 29.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006255/0.187, allocations: 1.245 MB / 333.1 MB, free: 27.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1871, allocations: 2.5 kB / 333.1 MB, free: 27.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009072/0.188, allocations: 0.6211 MB / 333.7 MB, free: 27.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.1882, allocations: 107.9 kB / 333.9 MB, free: 27.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.1882, allocations: 13 kB / 333.9 MB, free: 27.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.1886, allocations: 22.56 kB / 333.9 MB, free: 27.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.1887, allocations: 34.47 kB / 333.9 MB, free: 27.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.1887, allocations: 13.12 kB / 333.9 MB, free: 27.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006471/0.1893, allocations: 0.4977 MB / 334.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1893, allocations: 0 / 334.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008259/0.1902, allocations: 187.8 kB / 334.6 MB, free: 27.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001975/0.1904, allocations: 125.5 kB / 334.7 MB, free: 27.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009936/0.1914, allocations: 0.4909 MB / 335.2 MB, free: 26.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1914, allocations: 0 / 335.2 MB, free: 26.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.1917, allocations: 260.4 kB / 335.5 MB, free: 26.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009625/0.1927, allocations: 182.2 kB / 335.7 MB, free: 26.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.1953, allocations: 1.594 MB / 337.3 MB, free: 25.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.1958, allocations: 408.7 kB / 337.7 MB, free: 25.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003346/0.1961, allocations: 97.33 kB / 337.7 MB, free: 25.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.1962, allocations: 51.53 kB / 337.8 MB, free: 25.49 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1962, allocations: 0 / 337.8 MB, free: 25.49 MB / 302.1 MB Notification: Performance of Templates: time 0.01584/0.2121, allocations: 8.915 MB / 346.7 MB, free: 20.93 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.507550407201052]