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.001654/0.001654, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.001913/0.001913, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.49/1.49, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001857/0.001857, allocations: 67.89 kB / 373.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.1005, allocations: 53.33 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.2028/0.3033, allocations: 8.032 MB / 435.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.3065, allocations: 2.629 MB / 437.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.307, allocations: 23.62 kB / 437.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.3082, allocations: 0.5718 MB / 438.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008816/0.3091, allocations: 490.3 kB / 438.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.3095, allocations: 243.1 kB / 439.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.3107, allocations: 1.429 MB / 440.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.3112, allocations: 407.9 kB / 441 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006562/0.3119, allocations: 0.5489 MB / 441.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.3124, allocations: 0.5844 MB / 442.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.3126, allocations: 135.5 kB / 442.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.3129, allocations: 176.5 kB / 442.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.3131, allocations: 267.6 kB / 442.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004711/0.3135, allocations: 0.6566 MB / 443.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.3152, allocations: 1.701 MB / 445 MB, free: 2.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3152, allocations: 0.5 kB / 445 MB, free: 2.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3152, allocations: 0.9375 kB / 445 MB, free: 2.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.3153, allocations: 0.5 kB / 445 MB, free: 2.848 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.002147/0.3174, allocations: 1.459 MB / 446.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3174, allocations: 9.656 kB / 446.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005282/0.318, allocations: 176 kB / 446.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009766/0.3189, allocations: 0.7318 MB / 447.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.319, allocations: 76.41 kB / 447.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.3191, allocations: 96.44 kB / 447.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.3205, allocations: 0.9201 MB / 448.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.3206, allocations: 8.234 kB / 448.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.3207, allocations: 49.45 kB / 448.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.3207, allocations: 24.47 kB / 448.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.3218, allocations: 0.6227 MB / 449.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00487/0.3267, allocations: 3.875 MB / 453.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005985/0.3273, allocations: 342 kB / 453.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.3276, allocations: 133.6 kB / 453.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.3276, allocations: 9.438 kB / 453.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.3277, allocations: 38 kB / 453.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.245e-06/0.3277, allocations: 0.5625 kB / 453.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.00233/0.33, allocations: 1.206 MB / 454.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.3301, allocations: 86.41 kB / 454.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.3312, allocations: 0.8271 MB / 455.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.3312, allocations: 31.61 kB / 455.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.3316, allocations: 0.5831 MB / 456.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3318, allocations: 132.5 kB / 456.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.3319, allocations: 128.2 kB / 456.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3321, allocations: 331.6 kB / 456.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.3324, allocations: 150.9 kB / 457 MB, free: 11.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.333, allocations: 461.5 kB / 457.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.3339, allocations: 0.6404 MB / 458.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3339, allocations: 2.75 kB / 458.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001173/0.3351, allocations: 0.6937 MB / 458.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3351, allocations: 9.812 kB / 458.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.3351, allocations: 10.22 kB / 458.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.3353, allocations: 32.03 kB / 458.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.3358, allocations: 162.7 kB / 459 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.3369, allocations: 1.386 MB / 460.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.3375, allocations: 34.47 kB / 460.4 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.3375, allocations: 32.72 kB / 460.5 MB, free: 8.395 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.0003661/0.3379, allocations: 260.3 kB / 460.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.338, allocations: 91.84 kB / 460.8 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000754/0.3388, allocations: 375.2 kB / 461.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3388, allocations: 4.125 kB / 461.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3388, allocations: 1.094 kB / 461.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3388, allocations: 1.969 kB / 461.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.3408, allocations: 1.267 MB / 462.5 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3408, allocations: 9.656 kB / 462.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.3411, allocations: 74.97 kB / 462.5 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.527e-05/0.3412, allocations: 27.2 kB / 462.6 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.3412, allocations: 8.125 kB / 462.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.3423, allocations: 1.371 MB / 463.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3423, allocations: 2.219 kB / 464 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.3433, allocations: 0.635 MB / 464.6 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.3435, allocations: 192.5 kB / 464.8 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.3437, allocations: 19.22 kB / 464.8 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.344, allocations: 28.41 kB / 464.8 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.3441, allocations: 24.84 kB / 464.8 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.3441, allocations: 11.81 kB / 464.9 MB, free: 4.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007619/0.3449, allocations: 0.5605 MB / 465.4 MB, free: 4.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3449, allocations: 0 / 465.4 MB, free: 4.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007473/0.3456, allocations: 193 kB / 465.6 MB, free: 4.547 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.0002105/0.3458, allocations: 124.7 kB / 465.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009478/0.3468, allocations: 0.5002 MB / 466.2 MB, free: 4.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3468, allocations: 0 / 466.2 MB, free: 4.145 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.3472, allocations: 256.5 kB / 466.5 MB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.3482, allocations: 223.8 kB / 466.7 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.3509, allocations: 1.707 MB / 468.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.3515, allocations: 0.9997 MB / 469.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003276/0.3518, allocations: 101.3 kB / 469.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.352, allocations: 54.56 kB / 469.6 MB, free: 1.867 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.352, allocations: 0 / 469.6 MB, free: 1.867 MB / 366.1 MB Notification: Performance of Templates: time 0.02668/0.3786, allocations: 9.799 MB / 479.4 MB, free: 11.6 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.059842210263014]