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.001327/0.001327, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001448/0.001448, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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 1.553/1.553, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001911/0.001911, allocations: 59.91 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2638, allocations: 53.42 MB / 432.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01072/0.2745, allocations: 8.069 MB / 440.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005429/0.28, allocations: 2.637 MB / 443.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.2811, allocations: 27.88 kB / 443.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.283, allocations: 0.5712 MB / 443.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.2849, allocations: 496.4 kB / 444.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.2856, allocations: 239.7 kB / 444.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.2876, allocations: 1.432 MB / 445.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007187/0.2884, allocations: 407.3 kB / 446.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.2894, allocations: 0.5681 MB / 446.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00083/0.2902, allocations: 0.5872 MB / 447.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.2904, allocations: 132 kB / 447.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.2908, allocations: 172 kB / 447.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.291, allocations: 279 kB / 448 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006555/0.2917, allocations: 0.6454 MB / 448.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.2938, allocations: 1.7 MB / 450.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2938, allocations: 0 / 450.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2938, allocations: 0 / 450.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.705e-05/0.2938, allocations: 0 / 450.4 MB, free: 4.723 MB / 350.1 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.002593/0.2964, allocations: 1.392 MB / 451.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2965, allocations: 12.03 kB / 451.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005766/0.297, allocations: 172.1 kB / 451.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.2984, allocations: 0.6611 MB / 452.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-05/0.2985, allocations: 70 kB / 452.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.2987, allocations: 96 kB / 452.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.3003, allocations: 0.9346 MB / 453.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.3003, allocations: 7.953 kB / 453.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.898e-05/0.3004, allocations: 40 kB / 453.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.3004, allocations: 24 kB / 453.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.3017, allocations: 0.6207 MB / 454.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005663/0.3074, allocations: 3.768 MB / 458.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.3079, allocations: 272 kB / 458.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.3082, allocations: 136.7 kB / 458.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.3082, allocations: 8 kB / 458.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.3083, allocations: 38.5 kB / 458.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.355e-06/0.3083, allocations: 4 kB / 458.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002376/0.3107, allocations: 1.046 MB / 459.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.3107, allocations: 81.11 kB / 459.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.3119, allocations: 0.8254 MB / 460.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.3119, allocations: 33.64 kB / 460.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000476/0.3124, allocations: 0.585 MB / 461.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.3125, allocations: 131 kB / 461.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.3127, allocations: 134.6 kB / 461.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3129, allocations: 326 kB / 461.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.3132, allocations: 149.9 kB / 461.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.3138, allocations: 452 kB / 462.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.3147, allocations: 0.6512 MB / 463 MB, free: 7.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.3147, allocations: 4 kB / 463 MB, free: 7.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001312/0.316, allocations: 0.6891 MB / 463.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3161, allocations: 16.03 kB / 463.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3161, allocations: 8 kB / 463.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.3163, allocations: 36.78 kB / 463.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.3168, allocations: 159.7 kB / 463.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.318, allocations: 1.291 MB / 465.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/0.3186, allocations: 36.05 kB / 465.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.3186, allocations: 40 kB / 465.3 MB, free: 4.988 MB / 366.1 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.0004347/0.3191, allocations: 253.8 kB / 465.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3192, allocations: 95.38 kB / 465.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008007/0.32, allocations: 374.4 kB / 466 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.32, allocations: 15.92 kB / 466 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.32, allocations: 0 / 466 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.32, allocations: 0 / 466 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.3221, allocations: 1.226 MB / 467.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3221, allocations: 4 kB / 467.2 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.3224, allocations: 75.83 kB / 467.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.3225, allocations: 28.78 kB / 467.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3225, allocations: 8 kB / 467.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.3236, allocations: 1.275 MB / 468.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3236, allocations: 4.062 kB / 468.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3246, allocations: 0.6323 MB / 469.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.3249, allocations: 115.4 kB / 469.4 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.173e-05/0.325, allocations: 15.92 kB / 469.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.3254, allocations: 27.92 kB / 469.4 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.3255, allocations: 23.95 kB / 469.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.3255, allocations: 16 kB / 469.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008066/0.3263, allocations: 0.5576 MB / 470 MB, free: 4 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3263, allocations: 3.938 kB / 470 MB, free: 0 / 366.1 MB Notification: Performance of remove unused functions: time 0.0007454/0.327, allocations: 188 kB / 470.2 MB, free: 15.81 MB / 382.1 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.0002128/0.3272, allocations: 130.6 kB / 470.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.3282, allocations: 0.4892 MB / 470.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.3283, allocations: 4 kB / 470.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.3287, allocations: 255.2 kB / 471.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3297, allocations: 225.3 kB / 471.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.3329, allocations: 1.747 MB / 473 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.3336, allocations: 0.9923 MB / 474 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.3338, allocations: 55.44 kB / 474.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3338, allocations: 4 kB / 474.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of Templates: time 0.02452/0.3583, allocations: 15.9 MB / 490 MB, free: 11.95 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/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: 9.363640832947567]