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.001812/0.001812, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002158/0.002158, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.696/1.696, allocations: 230.5 MB / 258.2 MB, free: 7.809 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 55.91 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3938, allocations: 53.42 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009621/0.4034, allocations: 7.056 MB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005145/0.4085, allocations: 2.447 MB / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.4096, allocations: 27.88 kB / 441.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.4111, allocations: 0.5131 MB / 442 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.4125, allocations: 492.4 kB / 442.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.4131, allocations: 235.8 kB / 442.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001865/0.4149, allocations: 1.444 MB / 444.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007175/0.4157, allocations: 407.3 kB / 444.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.4167, allocations: 0.5564 MB / 445.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007935/0.4175, allocations: 0.5872 MB / 445.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.4176, allocations: 136 kB / 445.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.418, allocations: 179.9 kB / 446 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.4182, allocations: 271 kB / 446.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005753/0.4188, allocations: 0.525 MB / 446.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.4208, allocations: 1.712 MB / 448.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4208, allocations: 3.938 kB / 448.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4208, allocations: 0 / 448.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.4208, allocations: 4 kB / 448.5 MB, free: 5.824 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.002701/0.4235, allocations: 1.384 MB / 449.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.4236, allocations: 12.03 kB / 449.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.104e-05/0.4236, allocations: 26.19 kB / 449.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.4238, allocations: 148.3 kB / 450 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006201/0.4244, allocations: 176 kB / 450.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.4259, allocations: 0.6608 MB / 450.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-05/0.426, allocations: 70 kB / 451 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.4261, allocations: 95.95 kB / 451 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.4278, allocations: 0.9982 MB / 452 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.4279, allocations: 0 / 452 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/0.4279, allocations: 40 kB / 452.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.428, allocations: 27.94 kB / 452.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.4292, allocations: 0.6324 MB / 452.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005471/0.4346, allocations: 3.492 MB / 456.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.4353, allocations: 269.5 kB / 456.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.4355, allocations: 132.8 kB / 456.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.4356, allocations: 4 kB / 456.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.4356, allocations: 46.48 kB / 456.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.235e-06/0.4356, allocations: 0 / 456.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002385/0.438, allocations: 1.046 MB / 457.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.4381, allocations: 85.09 kB / 457.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.4392, allocations: 0.8292 MB / 458.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.4393, allocations: 29.7 kB / 458.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.4397, allocations: 0.5773 MB / 459.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.4399, allocations: 134.9 kB / 459.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.4401, allocations: 130.6 kB / 459.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4402, allocations: 337.9 kB / 459.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.4405, allocations: 145.9 kB / 460 MB, free: 9.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.4411, allocations: 489.6 kB / 460.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.442, allocations: 0.6396 MB / 461.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.442, allocations: 4 kB / 461.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001283/0.4433, allocations: 0.6927 MB / 461.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.4433, allocations: 12 kB / 461.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.4434, allocations: 8 kB / 461.8 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.4435, allocations: 32.84 kB / 461.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.444, allocations: 160.1 kB / 462 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.4452, allocations: 1.291 MB / 463.3 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.4458, allocations: 31.98 kB / 463.3 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.4458, allocations: 35.98 kB / 463.4 MB, free: 6.086 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.0004168/0.4462, allocations: 261.6 kB / 463.6 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.4463, allocations: 95.31 kB / 463.7 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007475/0.4471, allocations: 378.3 kB / 464.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.4471, allocations: 4 kB / 464.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4471, allocations: 0 / 464.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4471, allocations: 3.984 kB / 464.1 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.4489, allocations: 1.156 MB / 465.2 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.449, allocations: 0 / 465.2 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.4493, allocations: 75.89 kB / 465.3 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.58e-05/0.4494, allocations: 24.84 kB / 465.3 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.4494, allocations: 8 kB / 465.3 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.4504, allocations: 1.268 MB / 466.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4505, allocations: 3.938 kB / 466.6 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.4515, allocations: 0.6287 MB / 467.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.4518, allocations: 115.4 kB / 467.4 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.4519, allocations: 15.94 kB / 467.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.4522, allocations: 23.97 kB / 467.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.4523, allocations: 31.89 kB / 467.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.4523, allocations: 8 kB / 467.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008012/0.4531, allocations: 0.5615 MB / 468 MB, free: 1.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4531, allocations: 0 / 468 MB, free: 1.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007456/0.4539, allocations: 188 kB / 468.2 MB, free: 1.008 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.001415/0.4553, allocations: 1.216 MB / 469.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.4563, allocations: 496 kB / 469.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4563, allocations: 0 / 469.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.4567, allocations: 262.4 kB / 470.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4578, allocations: 213.9 kB / 470.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.4691, allocations: 7.123 MB / 477.5 MB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.4696, allocations: 408.8 kB / 477.9 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004732/0.4701, allocations: 106.9 kB / 478 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/0.4706, allocations: 363.3 kB / 478.3 MB, free: 6.305 MB / 382.1 MB Notification: Performance of SimCode: time 2.475e-06/0.4706, allocations: 0 / 478.3 MB, free: 6.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05863/0.5292, allocations: 19.3 MB / 497.6 MB, free: 3.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.88, allocations: 8 kB / 497.6 MB, free: 3.316 MB / 398.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.13598810194526]