Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.0007951/0.0007951, 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.003008/0.003008, allocations: 151 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.8126/0.8126, allocations: 173.3 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/1.989e-05, allocations: 10.22 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.005405/0.005425, allocations: 7.047 MB / 326.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.007686, allocations: 2.423 MB / 329.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.007992, allocations: 27.88 kB / 329.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.008799, allocations: 0.5285 MB / 329.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.009311, allocations: 0.5 MB / 330.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.009546, allocations: 235.7 kB / 330.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009684/0.01051, allocations: 1.493 MB / 331.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.0109, allocations: 383.2 kB / 332.3 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005542/0.01146, allocations: 0.83 MB / 333.2 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.01179, allocations: 426.6 kB / 333.6 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.493e-05/0.01188, allocations: 136 kB / 333.7 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.01206, allocations: 172 kB / 333.9 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.01217, allocations: 282.9 kB / 334.1 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.01242, allocations: 454.9 kB / 334.6 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.01343, allocations: 1.698 MB / 336.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.01344, allocations: 0 / 336.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01344, allocations: 0 / 336.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.01345, allocations: 8 kB / 336.3 MB, free: 5.148 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001307/0.01475, allocations: 1.368 MB / 337.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.01479, allocations: 8.922 kB / 337.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.01508, allocations: 176 kB / 337.8 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008449/0.01592, allocations: 0.6572 MB / 338.5 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.01596, allocations: 74 kB / 338.6 MB, free: 2.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.542e-05/0.01606, allocations: 99.92 kB / 338.7 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009267/0.01698, allocations: 0.9983 MB / 339.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.01701, allocations: 3.953 kB / 339.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.01706, allocations: 43.94 kB / 339.7 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.01707, allocations: 24 kB / 339.7 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/0.01779, allocations: 0.6207 MB / 340.4 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.02037, allocations: 3.353 MB / 343.7 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.02071, allocations: 266.3 kB / 344 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.02086, allocations: 132.8 kB / 344.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.02088, allocations: 4 kB / 344.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.0209, allocations: 34.56 kB / 344.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.342e-06/0.0209, allocations: 0 / 344.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001288/0.02219, allocations: 1.053 MB / 345.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.02223, allocations: 81.11 kB / 345.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007027/0.02293, allocations: 0.7504 MB / 346 MB, free: 11.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.02295, allocations: 33.7 kB / 346.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.02319, allocations: 0.5889 MB / 346.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.02325, allocations: 134.9 kB / 346.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.02335, allocations: 130.6 kB / 346.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.02346, allocations: 378.8 kB / 347.3 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.02364, allocations: 157.8 kB / 347.4 MB, free: 9.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.02393, allocations: 477.9 kB / 347.9 MB, free: 8.953 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.02443, allocations: 0.6441 MB / 348.5 MB, free: 8.168 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02443, allocations: 0 / 348.5 MB, free: 8.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006555/0.02508, allocations: 0.685 MB / 349.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.02511, allocations: 8 kB / 349.2 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.02512, allocations: 12 kB / 349.2 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.02522, allocations: 32.84 kB / 349.3 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.02548, allocations: 160.1 kB / 349.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006186/0.02609, allocations: 1.256 MB / 350.7 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.02632, allocations: 43.88 kB / 350.7 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.02634, allocations: 32 kB / 350.8 MB, free: 5.832 MB / 314.7 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.000211/0.02655, allocations: 257.7 kB / 351 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.02661, allocations: 75.53 kB / 351.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.02702, allocations: 365.4 kB / 351.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.02702, allocations: 7.938 kB / 351.5 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.02702, allocations: 0 / 351.5 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.02703, allocations: 7.984 kB / 351.5 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.02811, allocations: 1.047 MB / 352.5 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02811, allocations: 0 / 352.5 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.02827, allocations: 67.91 kB / 352.6 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.906e-05/0.02832, allocations: 24.84 kB / 352.6 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.02833, allocations: 8.219 kB / 352.6 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004967/0.02883, allocations: 1.252 MB / 353.9 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02883, allocations: 4 kB / 353.9 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.02936, allocations: 0.6252 MB / 354.5 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.02949, allocations: 107.5 kB / 354.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.02953, allocations: 12 kB / 354.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.02969, allocations: 19.98 kB / 354.6 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.02974, allocations: 31.89 kB / 354.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.02975, allocations: 11.98 kB / 354.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003936/0.03015, allocations: 0.4991 MB / 355.2 MB, free: 1.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03015, allocations: 0 / 355.2 MB, free: 1.195 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.03052, allocations: 195.9 kB / 355.4 MB, free: 1.004 MB / 314.7 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.0001499/0.03067, allocations: 115.2 kB / 355.5 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.03121, allocations: 0.4884 MB / 356 MB, free: 392 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.03122, allocations: 0.6875 kB / 356 MB, free: 392 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.03142, allocations: 262.8 kB / 356.2 MB, free: 116 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.03196, allocations: 193.5 kB / 356.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.03349, allocations: 1.625 MB / 358 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.03373, allocations: 404.7 kB / 358.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.03381, allocations: 52.5 kB / 358.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03382, allocations: 0 / 358.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of Templates: time 0.01097/0.04479, allocations: 15.83 MB / 374.3 MB, free: 13.98 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.01710048597306]