Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.0008572/0.0008572, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008836/0.0008836, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8979/0.8979, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.729e-05, allocations: 4.812 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005305/0.005332, allocations: 5.301 MB / 329.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.008568, allocations: 1.694 MB / 331.6 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000748/0.009316, allocations: 39.69 kB / 331.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.009824, allocations: 253.5 kB / 331.9 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005433/0.01037, allocations: 237.5 kB / 332.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.01137, allocations: 0.5226 MB / 332.6 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.01274, allocations: 1.433 MB / 334.1 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005985/0.01334, allocations: 416.3 kB / 334.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009875/0.01433, allocations: 0.725 MB / 335.2 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.01476, allocations: 342.7 kB / 335.5 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.0149, allocations: 124 kB / 335.6 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.01512, allocations: 139.9 kB / 335.8 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.01526, allocations: 267 kB / 336 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.01557, allocations: 406.9 kB / 336.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.01681, allocations: 1.619 MB / 338.1 MB, free: 2.359 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.01682, allocations: 7.984 kB / 338.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01682, allocations: 0 / 338.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.748e-05/0.01687, allocations: 0 / 338.1 MB, free: 2.352 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.001888/0.01876, allocations: 1.408 MB / 339.5 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.0188, allocations: 8.031 kB / 339.5 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.01896, allocations: 177.7 kB / 339.7 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.01928, allocations: 171 kB / 339.8 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009174/0.02019, allocations: 0.6835 MB / 340.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.02025, allocations: 90.41 kB / 340.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.02035, allocations: 123.9 kB / 340.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.02171, allocations: 1.31 MB / 342 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.02174, allocations: 11.88 kB / 342 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.0218, allocations: 56 kB / 342.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.02182, allocations: 36 kB / 342.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009275/0.02275, allocations: 0.6812 MB / 342.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/0.02685, allocations: 6.41 MB / 349.2 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006176/0.02747, allocations: 257.1 kB / 349.5 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.02771, allocations: 153.7 kB / 349.6 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.02781, allocations: 15.98 kB / 349.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.02783, allocations: 42.94 kB / 349.7 MB, free: 6.105 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 2.054e-06/0.02783, allocations: 0 / 349.7 MB, free: 6.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001646/0.02948, allocations: 1.278 MB / 351 MB, free: 4.758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.02952, allocations: 85.11 kB / 351 MB, free: 4.656 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005588/0.03008, allocations: 0.688 MB / 351.7 MB, free: 3.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.0301, allocations: 33.7 kB / 351.8 MB, free: 3.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.03041, allocations: 0.6938 MB / 352.5 MB, free: 3.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.03048, allocations: 119 kB / 352.6 MB, free: 3.098 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.0306, allocations: 150.5 kB / 352.7 MB, free: 2.945 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004138/0.03102, allocations: 382.8 kB / 353.1 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.03121, allocations: 149.9 kB / 353.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.03157, allocations: 0.5547 MB / 353.8 MB, free: 1.668 MB / 314.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.000807/0.03238, allocations: 0.7975 MB / 354.6 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.03239, allocations: 4 kB / 354.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009038/0.03329, allocations: 0.8032 MB / 355.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.03331, allocations: 8 kB / 355.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.03333, allocations: 16 kB / 355.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.03351, allocations: 77.69 kB / 355.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.03382, allocations: 184.2 kB / 355.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.03566, allocations: 3.11 MB / 358.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.03591, allocations: 28 kB / 358.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.03594, allocations: 44 kB / 358.9 MB, free: 12.16 MB / 330.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003652/0.03631, allocations: 276 kB / 359.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.85e-05/0.03639, allocations: 83.42 kB / 359.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.274e-05/0.03646, allocations: 74.34 kB / 359.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.03646, allocations: 4 kB / 359.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.03647, allocations: 4.062 kB / 359.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.03648, allocations: 12.06 kB / 359.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.03825, allocations: 1.188 MB / 360.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.03826, allocations: 0 / 360.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.03844, allocations: 63.91 kB / 360.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.03857, allocations: 57.67 kB / 360.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.03859, allocations: 8 kB / 360.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.04005, allocations: 2.824 MB / 363.4 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.04006, allocations: 3.938 kB / 363.4 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.04061, allocations: 0.6436 MB / 364.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.04068, allocations: 67.48 kB / 364.2 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.04071, allocations: 4.062 kB / 364.2 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.04084, allocations: 19.98 kB / 364.2 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.04092, allocations: 28.02 kB / 364.2 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.04094, allocations: 16 kB / 364.2 MB, free: 6.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003808/0.04132, allocations: 435 kB / 364.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04132, allocations: 0 / 364.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007055/0.04203, allocations: 160 kB / 364.8 MB, free: 5.887 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008437/0.04287, allocations: 1.18 MB / 366 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007275/0.0436, allocations: 0.6434 MB / 366.6 MB, free: 4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.0436, allocations: 0 / 366.6 MB, free: 4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.04413, allocations: 341.2 kB / 367 MB, free: 3.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.0445, allocations: 75.86 kB / 367 MB, free: 3.562 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/0.05034, allocations: 6.318 MB / 373.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.05093, allocations: 458.8 kB / 373.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.05111, allocations: 86.02 kB / 373.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.05143, allocations: 432.3 kB / 374.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/0.05143, allocations: 0 / 374.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.08163, allocations: 13.65 MB / 388 MB, free: 14.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.387, allocations: 8.109 kB / 388 MB, free: 14.29 MB / 362.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable directCapacitor1.capacitor.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacitor1.capacitor.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable directInductor3.inductor.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directInductor3.inductor.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.16125723067671]