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.001719/0.001719, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002187/0.002187, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.89 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3077, allocations: 53.42 MB / 431.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01111/0.3188, allocations: 8.058 MB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005719/0.3245, allocations: 2.645 MB / 441.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.3257, allocations: 27.88 kB / 441.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.3275, allocations: 0.5754 MB / 442.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.3289, allocations: 492.4 kB / 443 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.3295, allocations: 235.7 kB / 443.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.3312, allocations: 1.432 MB / 444.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000712/0.332, allocations: 411.3 kB / 445 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008433/0.3328, allocations: 0.5642 MB / 445.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007269/0.3335, allocations: 0.5794 MB / 446.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.3337, allocations: 136 kB / 446.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003541/0.3341, allocations: 176 kB / 446.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.3343, allocations: 271 kB / 446.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006555/0.3349, allocations: 0.6493 MB / 447.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.3371, allocations: 1.705 MB / 449.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3371, allocations: 0 / 449.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3371, allocations: 4 kB / 449.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.535e-05/0.3371, allocations: 3.938 kB / 449.1 MB, free: 4.684 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.002813/0.34, allocations: 1.38 MB / 450.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.34, allocations: 12.02 kB / 450.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.3402, allocations: 156.2 kB / 450.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.3408, allocations: 176.1 kB / 450.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.3421, allocations: 0.6609 MB / 451.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.3422, allocations: 77.94 kB / 451.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.3423, allocations: 96 kB / 451.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.3439, allocations: 0.9229 MB / 452.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.3439, allocations: 3.953 kB / 452.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.034e-05/0.344, allocations: 40 kB / 452.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.3441, allocations: 24 kB / 452.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.3453, allocations: 0.6285 MB / 453.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005439/0.3507, allocations: 3.776 MB / 457.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.3513, allocations: 260.4 kB / 457.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.3516, allocations: 140.7 kB / 457.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.3516, allocations: 4 kB / 457.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.3517, allocations: 46.48 kB / 457.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.555e-06/0.3517, allocations: 0 / 457.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002442/0.3541, allocations: 1.039 MB / 458.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.3542, allocations: 81.11 kB / 458.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.3554, allocations: 0.8292 MB / 459.5 MB, free: 9.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.3554, allocations: 33.7 kB / 459.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.3559, allocations: 0.5851 MB / 460.1 MB, free: 9.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3561, allocations: 130.9 kB / 460.2 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.3562, allocations: 126.6 kB / 460.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.3564, allocations: 337.9 kB / 460.7 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.3568, allocations: 145.9 kB / 460.8 MB, free: 8.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000636/0.3574, allocations: 464 kB / 461.2 MB, free: 7.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009779/0.3584, allocations: 0.6396 MB / 461.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3584, allocations: 4 kB / 461.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00127/0.3597, allocations: 0.6928 MB / 462.6 MB, free: 6.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3597, allocations: 8 kB / 462.6 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.3597, allocations: 12 kB / 462.6 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.3599, allocations: 32.84 kB / 462.6 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.3604, allocations: 163.7 kB / 462.8 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.3617, allocations: 1.295 MB / 464.1 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.3622, allocations: 40.14 kB / 464.1 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.3622, allocations: 32 kB / 464.2 MB, free: 4.801 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.0004198/0.3627, allocations: 249.9 kB / 464.4 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3628, allocations: 95.38 kB / 464.5 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007661/0.3636, allocations: 382.3 kB / 464.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3636, allocations: 4 kB / 464.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.3636, allocations: 3.938 kB / 464.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3636, allocations: 0 / 464.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.3656, allocations: 1.238 MB / 466.1 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3656, allocations: 3.938 kB / 466.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.3659, allocations: 75.89 kB / 466.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.464e-05/0.366, allocations: 29.06 kB / 466.2 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.366, allocations: 8 kB / 466.2 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.3671, allocations: 1.267 MB / 467.5 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3671, allocations: 4 kB / 467.5 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.3682, allocations: 0.6246 MB / 468.1 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.3684, allocations: 119.4 kB / 468.2 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.3685, allocations: 12 kB / 468.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.3689, allocations: 23.92 kB / 468.3 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.3689, allocations: 31.98 kB / 468.3 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.3689, allocations: 15.98 kB / 468.3 MB, free: 384 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008322/0.3698, allocations: 0.5615 MB / 468.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3698, allocations: 0 / 468.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007336/0.3705, allocations: 192 kB / 469.1 MB, free: 15.63 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.001591/0.3721, allocations: 1.207 MB / 470.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.3732, allocations: 495.3 kB / 470.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3732, allocations: 3.984 kB / 470.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.3736, allocations: 260.4 kB / 471 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3746, allocations: 221.2 kB / 471.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.3866, allocations: 7.127 MB / 478.4 MB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/0.3874, allocations: 0.9923 MB / 479.4 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004574/0.3879, allocations: 102.9 kB / 479.5 MB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/0.3884, allocations: 371.3 kB / 479.8 MB, free: 4.332 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.3884, allocations: 0 / 479.8 MB, free: 4.332 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06242/0.4508, allocations: 18.5 MB / 498.3 MB, free: 2.059 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.48, allocations: 0 / 498.3 MB, free: 2.059 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.55861535599979]