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.001727/0.001727, allocations: 111.1 kB / 20.44 MB, free: 1.332 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.002504/0.002504, allocations: 210.5 kB / 23.73 MB, free: 4.512 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.785 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 51.91 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2628, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01088/0.2737, allocations: 7.066 MB / 438.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006208/0.2799, allocations: 2.439 MB / 440.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.2811, allocations: 27.88 kB / 440.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.2832, allocations: 0.5169 MB / 441.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.285, allocations: 492.4 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007616/0.2858, allocations: 247.7 kB / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.2878, allocations: 1.43 MB / 443.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007041/0.2885, allocations: 379.3 kB / 443.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008441/0.2894, allocations: 0.5564 MB / 444.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00061/0.29, allocations: 0.5051 MB / 444.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.2901, allocations: 140 kB / 444.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.2905, allocations: 168 kB / 445 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.2907, allocations: 279 kB / 445.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.2912, allocations: 0.525 MB / 445.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.2929, allocations: 1.713 MB / 447.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2929, allocations: 0 / 447.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2929, allocations: 0 / 447.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.962e-05/0.293, allocations: 4 kB / 447.5 MB, free: 6.074 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.002359/0.2953, allocations: 1.388 MB / 448.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2954, allocations: 8.031 kB / 448.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.2955, allocations: 152.3 kB / 449.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/0.2961, allocations: 176.1 kB / 449.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.2973, allocations: 0.6609 MB / 449.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.2974, allocations: 70 kB / 450 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.2975, allocations: 96 kB / 450.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.2991, allocations: 0.9982 MB / 451.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.2992, allocations: 7.953 kB / 451.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/0.2993, allocations: 40 kB / 451.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.2993, allocations: 20 kB / 451.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.3005, allocations: 0.6323 MB / 451.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004937/0.3054, allocations: 3.488 MB / 455.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.306, allocations: 266.5 kB / 455.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.3063, allocations: 136.8 kB / 455.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.3063, allocations: 8 kB / 455.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3064, allocations: 42.5 kB / 455.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.294e-06/0.3064, allocations: 0 / 455.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002333/0.3087, allocations: 1.048 MB / 456.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.3087, allocations: 81.11 kB / 456.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.3099, allocations: 0.8408 MB / 457.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.3099, allocations: 29.7 kB / 457.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/0.3103, allocations: 0.5811 MB / 458.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.3105, allocations: 142.8 kB / 458.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.3107, allocations: 126.6 kB / 458.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3109, allocations: 329.9 kB / 458.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.3112, allocations: 149.9 kB / 459 MB, free: 10.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/0.3118, allocations: 489.7 kB / 459.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000984/0.3128, allocations: 0.6474 MB / 460.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.3128, allocations: 4 kB / 460.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001443/0.3143, allocations: 0.6969 MB / 460.8 MB, free: 8.012 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.3143, allocations: 8 kB / 460.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.3143, allocations: 12 kB / 460.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.3145, allocations: 24.86 kB / 460.9 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.315, allocations: 163.7 kB / 461.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.3163, allocations: 1.287 MB / 462.3 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.3169, allocations: 35.98 kB / 462.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.3169, allocations: 32 kB / 462.4 MB, free: 6.34 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.0004132/0.3173, allocations: 255.8 kB / 462.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.3175, allocations: 91.38 kB / 462.7 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000824/0.3183, allocations: 382.4 kB / 463.1 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3183, allocations: 4 kB / 463.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3183, allocations: 0 / 463.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.3183, allocations: 3.984 kB / 463.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.3203, allocations: 1.152 MB / 464.3 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3203, allocations: 7.922 kB / 464.3 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.3206, allocations: 71.91 kB / 464.4 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.311e-05/0.3207, allocations: 24.84 kB / 464.4 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.3207, allocations: 8 kB / 464.4 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.3217, allocations: 1.275 MB / 465.7 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.3217, allocations: 4 kB / 465.7 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3228, allocations: 0.6284 MB / 466.3 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.3231, allocations: 115.4 kB / 466.4 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/0.3231, allocations: 12 kB / 466.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.3235, allocations: 32 kB / 466.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.3236, allocations: 31.89 kB / 466.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3236, allocations: 8 kB / 466.5 MB, free: 1.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007728/0.3244, allocations: 0.5615 MB / 467.1 MB, free: 1.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3244, allocations: 0 / 467.1 MB, free: 1.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007233/0.3251, allocations: 191.9 kB / 467.2 MB, free: 1.25 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.001448/0.3265, allocations: 1.208 MB / 468.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009759/0.3275, allocations: 492.7 kB / 468.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3275, allocations: 0 / 468.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.3279, allocations: 262.5 kB / 469.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.3289, allocations: 222.8 kB / 469.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.339, allocations: 7.104 MB / 476.5 MB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.3395, allocations: 412.8 kB / 476.9 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003779/0.3398, allocations: 102.9 kB / 477 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.3403, allocations: 371.3 kB / 477.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3403, allocations: 0 / 477.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05844/0.3987, allocations: 19.56 MB / 496.9 MB, free: 3.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.38, allocations: 7.938 kB / 496.9 MB, free: 3.344 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 & python3 -m fmpy simulate --output-file Modelica_4.1.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_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.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_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.477016943041235]