Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 112.2 kB / 21.22 MB, free: 0.7266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 208.2 kB / 24.52 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 43.94 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2533, allocations: 53.38 MB / 431.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01031/0.2636, allocations: 8.057 MB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005009/0.2686, allocations: 2.653 MB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.2697, allocations: 27.88 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.2714, allocations: 0.5677 MB / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.2728, allocations: 492.4 kB / 443.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/0.2734, allocations: 239.7 kB / 444 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.2751, allocations: 1.428 MB / 445.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007902/0.2759, allocations: 411.3 kB / 445.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008228/0.2768, allocations: 0.5642 MB / 446.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008336/0.2776, allocations: 0.5872 MB / 446.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.2778, allocations: 132 kB / 447.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.2781, allocations: 176 kB / 447.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.2783, allocations: 275 kB / 447.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006379/0.2789, allocations: 0.6492 MB / 448.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.2811, allocations: 1.7 MB / 449.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2811, allocations: 0 / 449.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2811, allocations: 4 kB / 449.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.2812, allocations: 0 / 449.9 MB, free: 4.805 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.002563/0.2837, allocations: 1.38 MB / 451.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2838, allocations: 12.03 kB / 451.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.317e-05/0.2838, allocations: 26.19 kB / 451.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.284, allocations: 160.2 kB / 451.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000536/0.2845, allocations: 176.1 kB / 451.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.2857, allocations: 0.6568 MB / 452.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.2858, allocations: 74 kB / 452.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.2859, allocations: 96 kB / 452.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.2876, allocations: 0.923 MB / 453.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.2876, allocations: 7.891 kB / 453.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/0.2877, allocations: 44 kB / 453.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.2877, allocations: 20 kB / 453.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.289, allocations: 0.6246 MB / 454.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005734/0.2947, allocations: 3.772 MB / 457.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.2953, allocations: 272.1 kB / 458.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.2956, allocations: 132.8 kB / 458.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.2956, allocations: 4 kB / 458.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.2956, allocations: 38.5 kB / 458.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.795e-06/0.2956, allocations: 0 / 458.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002485/0.2981, allocations: 1.044 MB / 459.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.2982, allocations: 81.11 kB / 459.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.2994, allocations: 0.8331 MB / 460.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.2994, allocations: 33.7 kB / 460.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.2998, allocations: 0.5811 MB / 460.8 MB, free: 9.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.3, allocations: 134.9 kB / 461 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.3001, allocations: 126.6 kB / 461.1 MB, free: 9.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3003, allocations: 333.9 kB / 461.4 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.3006, allocations: 153.8 kB / 461.6 MB, free: 8.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/0.3012, allocations: 463.9 kB / 462 MB, free: 8.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.3022, allocations: 0.6435 MB / 462.7 MB, free: 7.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.3022, allocations: 4 kB / 462.7 MB, free: 7.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001212/0.3034, allocations: 0.6927 MB / 463.4 MB, free: 6.586 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3034, allocations: 8 kB / 463.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.3034, allocations: 15.98 kB / 463.4 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.3036, allocations: 32.84 kB / 463.4 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.3041, allocations: 160.1 kB / 463.6 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.3052, allocations: 1.295 MB / 464.9 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.3057, allocations: 31.98 kB / 464.9 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.3058, allocations: 32 kB / 464.9 MB, free: 4.902 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.0003897/0.3062, allocations: 253.9 kB / 465.2 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3064, allocations: 95.38 kB / 465.3 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007456/0.3071, allocations: 374.4 kB / 465.6 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3071, allocations: 4 kB / 465.6 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3071, allocations: 4 kB / 465.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3071, allocations: 3.984 kB / 465.6 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.3092, allocations: 1.238 MB / 466.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3092, allocations: 0 / 466.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.3095, allocations: 80.11 kB / 467 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.462e-05/0.3096, allocations: 24.86 kB / 467 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.3096, allocations: 11.98 kB / 467 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.3107, allocations: 1.271 MB / 468.3 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.3107, allocations: 11.91 kB / 468.3 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3117, allocations: 0.6169 MB / 468.9 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.312, allocations: 123.4 kB / 469 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.312, allocations: 11.94 kB / 469 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.3125, allocations: 27.97 kB / 469.1 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.3126, allocations: 23.95 kB / 469.1 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.3126, allocations: 12 kB / 469.1 MB, free: 484 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007648/0.3133, allocations: 0.5654 MB / 469.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3133, allocations: 0 / 469.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006776/0.314, allocations: 188 kB / 469.8 MB, free: 15.73 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.001586/0.3156, allocations: 1.208 MB / 471 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.3166, allocations: 0.4909 MB / 471.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3166, allocations: 2 kB / 471.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.3172, allocations: 254.9 kB / 471.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.3183, allocations: 221.8 kB / 472 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.3302, allocations: 7.135 MB / 479.1 MB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/0.331, allocations: 0.9923 MB / 480.1 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004433/0.3314, allocations: 106.9 kB / 480.2 MB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005248/0.332, allocations: 367.3 kB / 480.6 MB, free: 4.426 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.332, allocations: 0 / 480.6 MB, free: 4.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05654/0.3885, allocations: 18.52 MB / 499.1 MB, free: 2.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.32, allocations: 5.562 kB / 499.1 MB, free: 2.164 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 18.093386153981555]