Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.007655/0.007655, allocations: 160.3 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8425/0.8425, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.325e-05, allocations: 2.281 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.00545/0.005474, allocations: 7.084 MB / 332.9 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.00813, allocations: 2.458 MB / 335.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003744/0.008505, allocations: 27.88 kB / 335.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008505/0.009355, allocations: 0.5052 MB / 335.9 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005411/0.009896, allocations: 0.5117 MB / 336.4 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.01015, allocations: 239.7 kB / 336.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009787/0.01113, allocations: 1.494 MB / 338.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004049/0.01153, allocations: 383.2 kB / 338.5 MB, free: 2.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006372/0.01217, allocations: 0.8379 MB / 339.3 MB, free: 1.742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.01251, allocations: 418.7 kB / 339.7 MB, free: 1.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.477e-05/0.0126, allocations: 136 kB / 339.9 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.01278, allocations: 180 kB / 340 MB, free: 1.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.0129, allocations: 278.9 kB / 340.3 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005054/0.01341, allocations: 454.9 kB / 340.8 MB, free: 308 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.01446, allocations: 1.698 MB / 342.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01446, allocations: 0 / 342.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01447, allocations: 0 / 342.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.01448, allocations: 0 / 342.4 MB, free: 14.6 MB / 314.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.001327/0.0158, allocations: 1.372 MB / 343.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.01584, allocations: 11.98 kB / 343.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.01613, allocations: 176.1 kB / 344 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.01685, allocations: 0.6572 MB / 344.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.01689, allocations: 82 kB / 344.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.01698, allocations: 99.98 kB / 344.8 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000929/0.0179, allocations: 0.9982 MB / 345.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.01793, allocations: 7.953 kB / 345.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.01798, allocations: 43.98 kB / 345.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.01799, allocations: 24 kB / 345.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007158/0.01871, allocations: 0.6245 MB / 346.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.0216, allocations: 3.337 MB / 349.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.02195, allocations: 266.4 kB / 350.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.02211, allocations: 136.6 kB / 350.3 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.02213, allocations: 11.94 kB / 350.3 MB, free: 6.441 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.02215, allocations: 38.55 kB / 350.3 MB, free: 6.395 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.352e-06/0.02215, allocations: 0 / 350.3 MB, free: 6.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001302/0.02345, allocations: 1.058 MB / 351.4 MB, free: 5.301 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.02349, allocations: 81.11 kB / 351.5 MB, free: 5.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.02408, allocations: 0.7504 MB / 352.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.0241, allocations: 29.7 kB / 352.2 MB, free: 4.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.02435, allocations: 0.5966 MB / 352.8 MB, free: 3.801 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.02441, allocations: 126.9 kB / 353 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.02452, allocations: 126.6 kB / 353.1 MB, free: 3.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.02463, allocations: 382.8 kB / 353.5 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.0248, allocations: 145.9 kB / 353.6 MB, free: 3.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.0251, allocations: 485.9 kB / 354.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/0.02589, allocations: 0.6278 MB / 354.7 MB, free: 1.625 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.02589, allocations: 8 kB / 354.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006675/0.02656, allocations: 0.6887 MB / 355.4 MB, free: 0.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.02657, allocations: 8 kB / 355.4 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.02658, allocations: 12 kB / 355.4 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.0267, allocations: 36.84 kB / 355.4 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.02695, allocations: 163.7 kB / 355.6 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006569/0.02761, allocations: 1.26 MB / 356.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.02783, allocations: 39.88 kB / 356.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.02786, allocations: 36 kB / 356.9 MB, free: 15.27 MB / 330.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.0002155/0.02807, allocations: 253.6 kB / 357.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.02813, allocations: 79.48 kB / 357.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.02854, allocations: 373.6 kB / 357.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.02855, allocations: 11.92 kB / 357.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.02855, allocations: 0 / 357.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.02855, allocations: 0 / 357.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009598/0.02951, allocations: 1.04 MB / 358.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.02951, allocations: 0 / 358.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.02968, allocations: 67.91 kB / 358.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.218e-05/0.02973, allocations: 24.84 kB / 358.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.02974, allocations: 8 kB / 358.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005347/0.03028, allocations: 1.249 MB / 360 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.03028, allocations: 7.984 kB / 360 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.03084, allocations: 0.6284 MB / 360.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.03097, allocations: 103.5 kB / 360.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.03101, allocations: 12 kB / 360.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.03117, allocations: 32.06 kB / 360.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.03123, allocations: 27.89 kB / 360.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.03124, allocations: 16 kB / 360.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003977/0.03164, allocations: 0.4951 MB / 361.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03164, allocations: 0 / 361.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006714/0.03231, allocations: 191.9 kB / 361.5 MB, free: 10.43 MB / 330.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.0001897/0.0325, allocations: 123.1 kB / 361.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005535/0.03305, allocations: 491.8 kB / 362.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.03305, allocations: 0 / 362.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.03327, allocations: 268.3 kB / 362.4 MB, free: 9.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.03381, allocations: 185.3 kB / 362.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.03541, allocations: 1.623 MB / 364.2 MB, free: 7.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.03566, allocations: 404.7 kB / 364.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.03574, allocations: 56.5 kB / 364.7 MB, free: 7.199 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03574, allocations: 4 kB / 364.7 MB, free: 7.195 MB / 330.7 MB Notification: Performance of Templates: time 0.01227/0.04801, allocations: 15.84 MB / 380.5 MB, free: 7.371 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.132324641570449]