Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007863/0.0007863, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002897/0.002897, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8348/0.8348, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.596e-05, allocations: 6.219 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.005303/0.005329, allocations: 6.339 MB / 326 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002756/0.008085, allocations: 2.189 MB / 328.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.008417, allocations: 19.94 kB / 328.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009268/0.009344, allocations: 488.9 kB / 328.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005085/0.009852, allocations: 436.5 kB / 329.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.01035, allocations: 203.7 kB / 329.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007033/0.01105, allocations: 1.249 MB / 330.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.01141, allocations: 320.4 kB / 330.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.0119, allocations: 0.6976 MB / 331.6 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.01218, allocations: 358.9 kB / 332 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.803e-05/0.01226, allocations: 116 kB / 332.1 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.01241, allocations: 152 kB / 332.2 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.854e-05/0.01251, allocations: 231.1 kB / 332.4 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.01272, allocations: 387 kB / 332.8 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009235/0.01364, allocations: 1.433 MB / 334.3 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.01365, allocations: 0 / 334.3 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01365, allocations: 4 kB / 334.3 MB, free: 7.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.01366, allocations: 0 / 334.3 MB, free: 7.195 MB / 298.7 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.001193/0.01485, allocations: 1.182 MB / 335.4 MB, free: 5.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.01489, allocations: 8.031 kB / 335.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.01515, allocations: 156.2 kB / 335.6 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.01581, allocations: 0.5758 MB / 336.2 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.01584, allocations: 62.38 kB / 336.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.01591, allocations: 84.27 kB / 336.3 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.01696, allocations: 0.834 MB / 337.2 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.01698, allocations: 4.172 kB / 337.2 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.01702, allocations: 35.94 kB / 337.2 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.01703, allocations: 20 kB / 337.2 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005974/0.01763, allocations: 0.5153 MB / 337.7 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.01985, allocations: 2.92 MB / 340.7 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.02016, allocations: 221.3 kB / 340.9 MB, free: 296 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.02029, allocations: 100.8 kB / 341 MB, free: 192 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.02031, allocations: 4 kB / 341 MB, free: 188 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.02033, allocations: 38.55 kB / 341 MB, free: 140 kB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.02033, allocations: 0 / 341 MB, free: 140 kB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001198/0.02153, allocations: 0.8948 MB / 341.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.02157, allocations: 85.28 kB / 342 MB, free: 15.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.0221, allocations: 0.6836 MB / 342.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.02212, allocations: 29.7 kB / 342.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.02233, allocations: 0.5071 MB / 343.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.02238, allocations: 115 kB / 343.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.02247, allocations: 114.2 kB / 343.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003457/0.02281, allocations: 370.8 kB / 343.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.02297, allocations: 133.2 kB / 343.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.02324, allocations: 443.9 kB / 344.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.0237, allocations: 0.5794 MB / 344.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.0237, allocations: 8 kB / 344.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005937/0.0243, allocations: 0.6035 MB / 345.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.02431, allocations: 8 kB / 345.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.02432, allocations: 11.94 kB / 345.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/0.02443, allocations: 36.78 kB / 345.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.02466, allocations: 139.8 kB / 345.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006355/0.02529, allocations: 1.26 MB / 347 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.0255, allocations: 31.97 kB / 347 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.02553, allocations: 28 kB / 347.1 MB, free: 9.598 MB / 314.7 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.0001936/0.02572, allocations: 237.5 kB / 347.3 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.02577, allocations: 75.69 kB / 347.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.02614, allocations: 313.1 kB / 347.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.02615, allocations: 4 kB / 347.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.02615, allocations: 0 / 347.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.02615, allocations: 0 / 347.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009039/0.02706, allocations: 0.9096 MB / 348.6 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02706, allocations: 0 / 348.6 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.0272, allocations: 63.84 kB / 348.6 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-05/0.02726, allocations: 24.84 kB / 348.7 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.02727, allocations: 4 kB / 348.7 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006001/0.02787, allocations: 1.256 MB / 349.9 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02787, allocations: 0 / 349.9 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007514/0.02862, allocations: 0.5493 MB / 350.5 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.02873, allocations: 99.73 kB / 350.6 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.02877, allocations: 8 kB / 350.6 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.02891, allocations: 23.91 kB / 350.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.02896, allocations: 27.91 kB / 350.6 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.02897, allocations: 8 kB / 350.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003471/0.02932, allocations: 463 kB / 351.1 MB, free: 5.328 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02932, allocations: 0 / 351.1 MB, free: 5.328 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003713/0.02969, allocations: 156 kB / 351.2 MB, free: 5.176 MB / 314.7 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.0001639/0.02985, allocations: 119.2 kB / 351.4 MB, free: 5.051 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.03037, allocations: 458.6 kB / 351.8 MB, free: 4.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.03037, allocations: 1.938 kB / 351.8 MB, free: 4.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.03056, allocations: 231 kB / 352 MB, free: 4.352 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.03105, allocations: 163 kB / 352.2 MB, free: 4.191 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.03241, allocations: 1.372 MB / 353.6 MB, free: 2.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.03262, allocations: 356.4 kB / 353.9 MB, free: 2.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.03269, allocations: 48.5 kB / 354 MB, free: 2.34 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03269, allocations: 3.938 kB / 354 MB, free: 2.336 MB / 314.7 MB Notification: Performance of Templates: time 0.01004/0.04273, allocations: 13.56 MB / 367.5 MB, free: 4.805 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.091808583587408]