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.001355/0.001355, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001466/0.001466, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.471/1.471, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.002055/0.002055, allocations: 63.89 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2621, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009747/0.2718, allocations: 7.063 MB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005051/0.2769, allocations: 2.447 MB / 441.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008544/0.2777, allocations: 27.88 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.2793, allocations: 0.5244 MB / 442.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.2806, allocations: 488.4 kB / 442.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.2812, allocations: 239.8 kB / 443.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.2829, allocations: 1.436 MB / 444.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000649/0.2835, allocations: 375.3 kB / 445 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008101/0.2843, allocations: 0.5603 MB / 445.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006707/0.285, allocations: 0.4974 MB / 446 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.2852, allocations: 136 kB / 446.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.2855, allocations: 172 kB / 446.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.2857, allocations: 275 kB / 446.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005179/0.2862, allocations: 0.525 MB / 447.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.2882, allocations: 1.72 MB / 448.9 MB, free: 6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2882, allocations: 4 kB / 448.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2882, allocations: 0 / 448.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.2882, allocations: 0 / 448.9 MB, free: 5.996 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.002554/0.2907, allocations: 1.384 MB / 450.2 MB, free: 4.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2908, allocations: 15.98 kB / 450.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005775/0.2914, allocations: 176 kB / 450.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.2927, allocations: 0.6689 MB / 451.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.2927, allocations: 70 kB / 451.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.2929, allocations: 99.95 kB / 451.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.2945, allocations: 0.9982 MB / 452.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.2946, allocations: 0 / 452.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.2946, allocations: 47.98 kB / 452.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.2947, allocations: 24 kB / 452.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.2959, allocations: 0.6207 MB / 453 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.3007, allocations: 3.332 MB / 456.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.3013, allocations: 273.5 kB / 456.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.3016, allocations: 136.7 kB / 456.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.3016, allocations: 4 kB / 456.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3017, allocations: 46.48 kB / 456.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.385e-06/0.3017, allocations: 0 / 456.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002389/0.3041, allocations: 1.035 MB / 457.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.3041, allocations: 85.09 kB / 457.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.3051, allocations: 0.7504 MB / 458.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.3052, allocations: 37.64 kB / 458.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.3056, allocations: 0.5928 MB / 459.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.3057, allocations: 130.9 kB / 459.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.3059, allocations: 126.6 kB / 459.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3061, allocations: 378.8 kB / 459.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.3064, allocations: 149.9 kB / 460 MB, free: 10.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005826/0.307, allocations: 485.7 kB / 460.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009403/0.308, allocations: 0.6435 MB / 461.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.308, allocations: 4 kB / 461.1 MB, free: 9.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001243/0.3092, allocations: 0.6845 MB / 461.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3092, allocations: 8 kB / 461.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.3092, allocations: 12.69 kB / 461.8 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.3094, allocations: 40.8 kB / 461.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.3099, allocations: 163.7 kB / 462 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.3111, allocations: 1.26 MB / 463.3 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.3116, allocations: 43.92 kB / 463.3 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.456e-05/0.3116, allocations: 40.09 kB / 463.4 MB, free: 6.645 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.0004063/0.312, allocations: 253.5 kB / 463.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.3122, allocations: 83.48 kB / 463.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007888/0.313, allocations: 373.4 kB / 464.1 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.313, allocations: 3.984 kB / 464.1 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.313, allocations: 7.984 kB / 464.1 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.313, allocations: 4 kB / 464.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.3148, allocations: 1.028 MB / 465.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3148, allocations: 0 / 465.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.3151, allocations: 75.89 kB / 465.2 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.3152, allocations: 29.02 kB / 465.2 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.3152, allocations: 11.98 kB / 465.2 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.3163, allocations: 1.237 MB / 466.5 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.3163, allocations: 7.984 kB / 466.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.3174, allocations: 0.6286 MB / 467.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.3176, allocations: 99.48 kB / 467.2 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/0.3177, allocations: 15.98 kB / 467.2 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.3181, allocations: 23.98 kB / 467.2 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.3181, allocations: 27.89 kB / 467.3 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3182, allocations: 8 kB / 467.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007075/0.3189, allocations: 0.5069 MB / 467.8 MB, free: 2.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3189, allocations: 3.938 kB / 467.8 MB, free: 2.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007801/0.3197, allocations: 191.9 kB / 468 MB, free: 1.816 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.0003374/0.32, allocations: 114.6 kB / 468.1 MB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.3211, allocations: 0.4934 MB / 468.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3211, allocations: 4 kB / 468.6 MB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.3216, allocations: 250.5 kB / 468.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009597/0.3226, allocations: 204 kB / 469 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.326, allocations: 1.747 MB / 470.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.3265, allocations: 412.5 kB / 471.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.3267, allocations: 51.44 kB / 471.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3267, allocations: 0 / 471.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of Templates: time 0.02528/0.3519, allocations: 15.83 MB / 487 MB, free: 14.64 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: 8.603889619000256]