Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001746/0.001746, allocations: 84.69 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.002091/0.002091, allocations: 164 kB / 24.7 MB, free: 3.547 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.345/1.345, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.961e-05, allocations: 2.281 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009001/0.009031, allocations: 6.304 MB / 305.3 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004558/0.01359, allocations: 2.217 MB / 307.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.01459, allocations: 19.94 kB / 307.5 MB, free: 120 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.01633, allocations: 484.9 kB / 308 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.01769, allocations: 428.7 kB / 308.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.01823, allocations: 207.6 kB / 308.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.02007, allocations: 1.249 MB / 309.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007104/0.02078, allocations: 320.5 kB / 310.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.02194, allocations: 0.6976 MB / 310.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006661/0.02261, allocations: 366.8 kB / 311.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.0228, allocations: 116 kB / 311.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.02315, allocations: 147.9 kB / 311.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.02337, allocations: 239.1 kB / 311.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005608/0.02393, allocations: 371.1 kB / 312.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.02566, allocations: 1.437 MB / 313.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.02566, allocations: 0 / 313.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02566, allocations: 0 / 313.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.038e-05/0.0257, allocations: 3.938 kB / 313.5 MB, free: 10.07 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002435/0.02814, allocations: 1.197 MB / 314.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.02818, allocations: 15.98 kB / 314.7 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.02873, allocations: 152.2 kB / 314.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.02988, allocations: 0.5758 MB / 315.4 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.02994, allocations: 70.31 kB / 315.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.03007, allocations: 76.38 kB / 315.6 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.03157, allocations: 0.8262 MB / 316.4 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.0316, allocations: 8.078 kB / 316.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/0.03168, allocations: 35.94 kB / 316.5 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.0317, allocations: 20 kB / 316.5 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.03287, allocations: 0.5114 MB / 317 MB, free: 6.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/0.03718, allocations: 2.931 MB / 319.9 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.03771, allocations: 214.5 kB / 320.1 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.03797, allocations: 121.2 kB / 320.3 MB, free: 3.039 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.038, allocations: 3.938 kB / 320.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.03804, allocations: 34.56 kB / 320.3 MB, free: 2.992 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/0.03804, allocations: 4 kB / 320.3 MB, free: 2.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.00211/0.04015, allocations: 0.895 MB / 321.2 MB, free: 2.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.04023, allocations: 81.05 kB / 321.3 MB, free: 1.961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.04121, allocations: 0.6836 MB / 322 MB, free: 1.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.04124, allocations: 29.7 kB / 322 MB, free: 1.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.04166, allocations: 0.511 MB / 322.5 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/0.04175, allocations: 107.1 kB / 322.6 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.04192, allocations: 110.2 kB / 322.7 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.04214, allocations: 370.8 kB / 323.1 MB, free: 128 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.04247, allocations: 125.2 kB / 323.2 MB, free: 0 / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1525/0.1949, allocations: 439.1 kB / 323.6 MB, free: 33.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008985/0.1958, allocations: 0.5742 MB / 324.2 MB, free: 33.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/0.1958, allocations: 2.312 kB / 324.2 MB, free: 33.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001448/0.1973, allocations: 0.6058 MB / 324.8 MB, free: 33.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.1973, allocations: 9.25 kB / 324.8 MB, free: 33.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.1974, allocations: 14.44 kB / 324.8 MB, free: 33.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.1976, allocations: 33.05 kB / 324.9 MB, free: 33.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.1981, allocations: 139 kB / 325 MB, free: 33.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009557/0.199, allocations: 1.257 MB / 326.2 MB, free: 31.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/0.1997, allocations: 32.3 kB / 326.3 MB, free: 31.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.1997, allocations: 34.69 kB / 326.3 MB, free: 31.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0004138/0.2001, allocations: 241.2 kB / 326.5 MB, free: 31.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.2003, allocations: 73.83 kB / 326.6 MB, free: 31.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000706/0.201, allocations: 311.7 kB / 326.9 MB, free: 31.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.201, allocations: 3.391 kB / 326.9 MB, free: 31.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.201, allocations: 1.094 kB / 326.9 MB, free: 31.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.201, allocations: 1.688 kB / 326.9 MB, free: 31.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.2026, allocations: 0.9073 MB / 327.8 MB, free: 30.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.2026, allocations: 3.172 kB / 327.8 MB, free: 30.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.2029, allocations: 63.34 kB / 327.9 MB, free: 30.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-05/0.2029, allocations: 22.27 kB / 327.9 MB, free: 30.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.203, allocations: 3.344 kB / 327.9 MB, free: 30.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006735/0.2036, allocations: 1.248 MB / 329.2 MB, free: 29.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2036, allocations: 3.188 kB / 329.2 MB, free: 29.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/0.2045, allocations: 0.5495 MB / 329.7 MB, free: 29.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.2048, allocations: 89 kB / 329.8 MB, free: 29.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.2049, allocations: 9.531 kB / 329.8 MB, free: 29.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.2052, allocations: 21.7 kB / 329.8 MB, free: 29.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.2053, allocations: 26.69 kB / 329.9 MB, free: 29.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.2053, allocations: 23.94 kB / 329.9 MB, free: 29.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006008/0.2059, allocations: 460.5 kB / 330.3 MB, free: 29.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2059, allocations: 0 / 330.3 MB, free: 29.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000717/0.2066, allocations: 160.3 kB / 330.5 MB, free: 29.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.0001959/0.2068, allocations: 115.3 kB / 330.6 MB, free: 29.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008835/0.2077, allocations: 457.6 kB / 331.1 MB, free: 28.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2077, allocations: 0 / 331.1 MB, free: 28.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.208, allocations: 234.8 kB / 331.3 MB, free: 28.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.2089, allocations: 171.1 kB / 331.5 MB, free: 28.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.211, allocations: 1.335 MB / 332.8 MB, free: 27.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.2114, allocations: 355.7 kB / 333.1 MB, free: 27.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003159/0.2117, allocations: 82.22 kB / 333.2 MB, free: 27.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.2119, allocations: 44.72 kB / 333.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2119, allocations: 1.375 kB / 333.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of Templates: time 0.01474/0.2266, allocations: 7.921 MB / 341.2 MB, free: 25.02 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.512645378708839]