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.001893/0.001893, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002157/0.002157, allocations: 207.8 kB / 23.73 MB, free: 4.391 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.603/1.603, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.001988/0.001988, allocations: 59.91 kB / 378.2 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2619, allocations: 53.41 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009912/0.2718, allocations: 7.068 MB / 438.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004915/0.2767, allocations: 2.439 MB / 441.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006345/0.2773, allocations: 27.88 kB / 441.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.2788, allocations: 0.5209 MB / 441.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.2799, allocations: 488.4 kB / 442.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.2805, allocations: 239.7 kB / 442.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.2822, allocations: 1.436 MB / 443.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006477/0.2828, allocations: 381.8 kB / 444.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000836/0.2837, allocations: 0.5642 MB / 444.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006402/0.2843, allocations: 0.5012 MB / 445.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.2845, allocations: 136 kB / 445.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.2848, allocations: 172 kB / 445.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.285, allocations: 275 kB / 445.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005363/0.2856, allocations: 0.5172 MB / 446.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.2874, allocations: 1.72 MB / 448.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2874, allocations: 3.938 kB / 448.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2874, allocations: 0 / 448.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.2875, allocations: 4 kB / 448.1 MB, free: 5.957 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.002391/0.2899, allocations: 1.388 MB / 449.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2899, allocations: 11.98 kB / 449.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005458/0.2904, allocations: 180 kB / 449.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.2917, allocations: 0.665 MB / 450.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.2917, allocations: 70 kB / 450.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.2919, allocations: 99.95 kB / 450.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.2936, allocations: 0.9982 MB / 451.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.2936, allocations: 0 / 451.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.2937, allocations: 43.98 kB / 451.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.2937, allocations: 24 kB / 451.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.295, allocations: 0.6246 MB / 452.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004915/0.2999, allocations: 3.333 MB / 455.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.3005, allocations: 272.6 kB / 455.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.3008, allocations: 136.7 kB / 455.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.3008, allocations: 4 kB / 455.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.3009, allocations: 42.55 kB / 456 MB, free: 13.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.3009, allocations: 0 / 456 MB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002442/0.3033, allocations: 1.042 MB / 457 MB, free: 12.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.3034, allocations: 85.09 kB / 457.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.3045, allocations: 0.7465 MB / 457.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.3046, allocations: 33.7 kB / 457.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/0.3051, allocations: 0.5889 MB / 458.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.3052, allocations: 134.9 kB / 458.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.3054, allocations: 134.6 kB / 458.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.3056, allocations: 382.8 kB / 459.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.3059, allocations: 141.9 kB / 459.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.3065, allocations: 485.7 kB / 459.7 MB, free: 9.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.3075, allocations: 0.6474 MB / 460.4 MB, free: 8.969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.3075, allocations: 7.938 kB / 460.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001246/0.3087, allocations: 0.6886 MB / 461.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.3087, allocations: 8 kB / 461.1 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.3088, allocations: 16 kB / 461.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/0.309, allocations: 32.86 kB / 461.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/0.3095, allocations: 160.2 kB / 461.3 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.3107, allocations: 1.256 MB / 462.5 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/0.3112, allocations: 43.92 kB / 462.6 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.3113, allocations: 32 kB / 462.6 MB, free: 6.617 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.0003945/0.3116, allocations: 269.2 kB / 462.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3118, allocations: 79.48 kB / 462.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/0.3125, allocations: 377.3 kB / 463.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3125, allocations: 4 kB / 463.3 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3125, allocations: 0 / 463.3 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3125, allocations: 0 / 463.3 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.3143, allocations: 1.04 MB / 464.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3143, allocations: 0 / 464.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.3146, allocations: 71.89 kB / 464.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-05/0.3147, allocations: 24.84 kB / 464.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3148, allocations: 12.22 kB / 464.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.3158, allocations: 1.252 MB / 465.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3158, allocations: 0 / 465.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.3169, allocations: 0.6247 MB / 466.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.3172, allocations: 103.5 kB / 466.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-05/0.3173, allocations: 11.98 kB / 466.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.3176, allocations: 23.98 kB / 466.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.3177, allocations: 31.83 kB / 466.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.3177, allocations: 16 kB / 466.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007086/0.3184, allocations: 0.4951 MB / 467 MB, free: 1.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3184, allocations: 0 / 467 MB, free: 1.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007633/0.3192, allocations: 195.9 kB / 467.2 MB, free: 1.781 MB / 366.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.0002046/0.3194, allocations: 115.2 kB / 467.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3204, allocations: 0.4887 MB / 467.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3204, allocations: 0.8125 kB / 467.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.3209, allocations: 262.4 kB / 468.1 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009326/0.3218, allocations: 186.8 kB / 468.3 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.3253, allocations: 1.714 MB / 470 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.3259, allocations: 408.5 kB / 470.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004145/0.3263, allocations: 94.3 kB / 470.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.3264, allocations: 51.44 kB / 470.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3264, allocations: 4 kB / 470.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of Templates: time 0.02256/0.349, allocations: 10.35 MB / 480.9 MB, free: 4.207 MB / 382.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/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.15678683668375]