Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 112 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 186.9 kB / 23.71 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 47.92 kB / 370.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2593, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.0135/0.2728, allocations: 8.056 MB / 430.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006015/0.2788, allocations: 2.603 MB / 433.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009668/0.2798, allocations: 27.88 kB / 433.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.2818, allocations: 0.5715 MB / 433.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.2836, allocations: 484.4 kB / 434.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.2844, allocations: 251.6 kB / 434.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00267/0.287, allocations: 1.439 MB / 436.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.2881, allocations: 404.3 kB / 436.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.2892, allocations: 0.5564 MB / 437 MB, free: 160 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.2903, allocations: 0.5795 MB / 437.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002565/0.2906, allocations: 136 kB / 437.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004579/0.291, allocations: 175.8 kB / 437.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.2913, allocations: 271 kB / 438.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008957/0.2922, allocations: 0.657 MB / 438.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.2951, allocations: 1.696 MB / 440.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2951, allocations: 4 kB / 440.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2951, allocations: 0 / 440.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.2951, allocations: 4 kB / 440.5 MB, free: 12.63 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.003133/0.2982, allocations: 1.392 MB / 441.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2983, allocations: 8.031 kB / 441.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002222/0.2985, allocations: 148.3 kB / 442.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007093/0.2992, allocations: 180 kB / 442.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.3004, allocations: 0.6648 MB / 442.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.793e-05/0.3005, allocations: 66 kB / 443 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.3006, allocations: 99.98 kB / 443.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.3022, allocations: 0.9268 MB / 444 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.3022, allocations: 7.953 kB / 444 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.769e-05/0.3023, allocations: 40 kB / 444 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.3023, allocations: 24 kB / 444.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.3036, allocations: 0.6246 MB / 444.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005205/0.3088, allocations: 3.768 MB / 448.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.3093, allocations: 262.1 kB / 448.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.3096, allocations: 136.1 kB / 448.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.3096, allocations: 4 kB / 448.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3097, allocations: 46.5 kB / 448.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.3097, allocations: 3.938 kB / 448.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002296/0.312, allocations: 1.058 MB / 449.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.312, allocations: 81.11 kB / 450 MB, free: 2.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3131, allocations: 0.8214 MB / 450.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.3132, allocations: 37.7 kB / 450.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/0.3136, allocations: 0.5773 MB / 451.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3137, allocations: 142.8 kB / 451.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.3139, allocations: 126.6 kB / 451.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3141, allocations: 333.9 kB / 452.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.3144, allocations: 153.9 kB / 452.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.315, allocations: 456 kB / 452.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/0.3159, allocations: 0.6366 MB / 453.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3159, allocations: 4 kB / 453.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001238/0.3172, allocations: 0.6889 MB / 454 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3172, allocations: 12 kB / 454 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.3172, allocations: 8 kB / 454 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/0.3174, allocations: 36.84 kB / 454 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.3179, allocations: 151.8 kB / 454.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.319, allocations: 1.291 MB / 455.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.3195, allocations: 39.94 kB / 455.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.3196, allocations: 32 kB / 455.5 MB, free: 12.75 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.0003822/0.32, allocations: 258 kB / 455.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.3201, allocations: 91.38 kB / 455.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007381/0.3208, allocations: 374.3 kB / 456.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3208, allocations: 4 kB / 456.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3208, allocations: 0 / 456.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.3208, allocations: 3.984 kB / 456.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.3228, allocations: 1.231 MB / 457.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.3228, allocations: 7.938 kB / 457.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.3231, allocations: 71.91 kB / 457.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-05/0.3232, allocations: 29 kB / 457.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.3232, allocations: 12 kB / 457.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.3242, allocations: 1.264 MB / 458.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3242, allocations: 3.938 kB / 458.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.3253, allocations: 0.6368 MB / 459.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.3256, allocations: 119.4 kB / 459.6 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.3257, allocations: 11.94 kB / 459.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.3261, allocations: 31.91 kB / 459.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.3262, allocations: 24.05 kB / 459.7 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3262, allocations: 12 kB / 459.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007932/0.327, allocations: 0.5576 MB / 460.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.327, allocations: 8 kB / 460.3 MB, free: 7.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007467/0.3277, allocations: 188 kB / 460.5 MB, free: 7.582 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.001494/0.3292, allocations: 1.206 MB / 461.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.3302, allocations: 0.4911 MB / 462.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3302, allocations: 1.812 kB / 462.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.3307, allocations: 258.9 kB / 462.4 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.3317, allocations: 207.2 kB / 462.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.3422, allocations: 7.135 MB / 469.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/0.3429, allocations: 0.9923 MB / 470.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.3433, allocations: 106.8 kB / 470.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.3438, allocations: 367.3 kB / 471.2 MB, free: 12.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3438, allocations: 0 / 471.2 MB, free: 12.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0578/0.4016, allocations: 18.49 MB / 489.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.97, allocations: 0 / 489.7 MB, free: 10.04 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.04211043200121]