Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008047/0.0008047, allocations: 83.69 kB / 21.44 MB, free: 3.117 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.003018/0.003018, allocations: 156.5 kB / 24.7 MB, free: 9.434 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.8195/0.8195, allocations: 177.1 MB / 205 MB, free: 5.734 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.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.433e-05/3.737e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006507/0.006545, allocations: 6.382 MB / 332.2 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.009662, allocations: 2.22 MB / 334.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.01009, allocations: 19.94 kB / 334.5 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009555/0.01104, allocations: 480.9 kB / 334.9 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005753/0.01162, allocations: 436.6 kB / 335.4 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.0119, allocations: 199.7 kB / 335.6 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009566/0.01285, allocations: 1.256 MB / 336.8 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.01323, allocations: 317 kB / 337.1 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007145/0.01394, allocations: 0.7054 MB / 337.8 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.01424, allocations: 358.8 kB / 338.2 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.217e-05/0.01433, allocations: 120 kB / 338.3 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.0145, allocations: 152 kB / 338.4 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.0146, allocations: 231.1 kB / 338.7 MB, free: 2.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.01484, allocations: 375.1 kB / 339 MB, free: 2.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009991/0.01584, allocations: 1.437 MB / 340.5 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01584, allocations: 3.938 kB / 340.5 MB, free: 0.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01584, allocations: 0 / 340.5 MB, free: 0.707 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.01585, allocations: 0 / 340.5 MB, free: 0.707 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.001392/0.01725, allocations: 1.186 MB / 341.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.01728, allocations: 12.03 kB / 341.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.01755, allocations: 156.2 kB / 341.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.01821, allocations: 0.5758 MB / 342.4 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.01824, allocations: 62.38 kB / 342.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.1e-05/0.01832, allocations: 80.33 kB / 342.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007981/0.01911, allocations: 0.834 MB / 343.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.01914, allocations: 192 / 343.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.01918, allocations: 35.94 kB / 343.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.01919, allocations: 20 kB / 343.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/0.01979, allocations: 0.5231 MB / 343.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.0221, allocations: 2.923 MB / 346.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.02242, allocations: 214.5 kB / 347.1 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.02255, allocations: 108.8 kB / 347.2 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.02257, allocations: 4 kB / 347.2 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.02259, allocations: 34.5 kB / 347.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.02259, allocations: 0 / 347.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001189/0.02378, allocations: 0.8945 MB / 348.1 MB, free: 8.715 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.02383, allocations: 85.28 kB / 348.2 MB, free: 8.613 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/0.02435, allocations: 0.672 MB / 348.9 MB, free: 7.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.02437, allocations: 33.7 kB / 348.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.0246, allocations: 0.511 MB / 349.4 MB, free: 7.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.02465, allocations: 115.1 kB / 349.5 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.02475, allocations: 110.2 kB / 349.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.02485, allocations: 374.8 kB / 350 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.025, allocations: 125.2 kB / 350.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.02528, allocations: 447.9 kB / 350.6 MB, free: 6.074 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.02573, allocations: 0.5755 MB / 351.1 MB, free: 5.363 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.02574, allocations: 4 kB / 351.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005905/0.02633, allocations: 0.6035 MB / 351.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.02634, allocations: 8 kB / 351.8 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.02635, allocations: 15.94 kB / 351.8 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001081/0.02646, allocations: 24.86 kB / 351.8 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.0267, allocations: 147.8 kB / 351.9 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000636/0.02733, allocations: 1.268 MB / 353.2 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.02753, allocations: 31.94 kB / 353.2 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.02756, allocations: 32 kB / 353.3 MB, free: 3.117 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.0001952/0.02776, allocations: 237.5 kB / 353.5 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.02781, allocations: 67.73 kB / 353.6 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.02817, allocations: 313.1 kB / 353.9 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02817, allocations: 4 kB / 353.9 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.02817, allocations: 0 / 353.9 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.02817, allocations: 3.984 kB / 353.9 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008441/0.02902, allocations: 0.9066 MB / 354.8 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02902, allocations: 4 kB / 354.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.02916, allocations: 63.83 kB / 354.9 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-05/0.0292, allocations: 20.86 kB / 354.9 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.02922, allocations: 11.98 kB / 354.9 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005405/0.02976, allocations: 1.245 MB / 356.1 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.02976, allocations: 8.016 kB / 356.1 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.03026, allocations: 0.5484 MB / 356.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.03038, allocations: 95.58 kB / 356.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.03042, allocations: 11.94 kB / 356.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.03058, allocations: 27.92 kB / 356.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.03063, allocations: 27.89 kB / 356.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.03064, allocations: 8 kB / 356.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003723/0.03101, allocations: 467 kB / 357.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03101, allocations: 0 / 357.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.03138, allocations: 156 kB / 357.5 MB, free: 14.69 MB / 330.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.0001665/0.03155, allocations: 119.1 kB / 357.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005047/0.03205, allocations: 452.5 kB / 358 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.03205, allocations: 4 kB / 358 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.03224, allocations: 239 kB / 358.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.03274, allocations: 158.6 kB / 358.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.03409, allocations: 1.375 MB / 359.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.0343, allocations: 348.4 kB / 360.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.03437, allocations: 52.5 kB / 360.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03437, allocations: 0 / 360.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of Templates: time 0.01042/0.0448, allocations: 13.56 MB / 373.7 MB, free: 14.31 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.524399598129094]