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.001856/0.001856, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002394/0.002394, allocations: 211.8 kB / 23.73 MB, free: 4.16 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.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 0.001701/0.001701, allocations: 55.89 kB / 377.7 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2433, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00712/0.2504, allocations: 5.297 MB / 436.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.2538, allocations: 1.687 MB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004274/0.2543, allocations: 39.69 kB / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.2549, allocations: 253.6 kB / 438.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.2553, allocations: 217.8 kB / 438.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/0.2563, allocations: 0.5227 MB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.2577, allocations: 1.387 MB / 440.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006698/0.2583, allocations: 420.3 kB / 440.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005728/0.2589, allocations: 494.1 kB / 441.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.2594, allocations: 437.2 kB / 441.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.2596, allocations: 120 kB / 441.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.2598, allocations: 144 kB / 442.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.26, allocations: 267 kB / 442.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004421/0.2605, allocations: 489.5 kB / 442.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.2621, allocations: 1.65 MB / 444.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2621, allocations: 0 / 444.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2621, allocations: 0 / 444.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.2621, allocations: 0 / 444.5 MB, free: 9.215 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002108/0.2642, allocations: 1.428 MB / 445.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2642, allocations: 8.031 kB / 445.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/0.2644, allocations: 177.7 kB / 446.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.2648, allocations: 167 kB / 446.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.266, allocations: 0.695 MB / 446.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.2661, allocations: 94.34 kB / 447 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.2663, allocations: 127.9 kB / 447.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.2684, allocations: 1.31 MB / 448.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.2684, allocations: 7.938 kB / 448.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.2685, allocations: 51.94 kB / 448.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.2685, allocations: 36 kB / 448.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.2698, allocations: 0.6851 MB / 449.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006115/0.2759, allocations: 6.423 MB / 455.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.2765, allocations: 245.3 kB / 455.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.2769, allocations: 157.6 kB / 456.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.442e-05/0.277, allocations: 11.98 kB / 456.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.277, allocations: 42.5 kB / 456.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.853e-06/0.277, allocations: 0 / 456.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002398/0.2794, allocations: 1.278 MB / 457.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.2795, allocations: 81.11 kB / 457.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/0.2803, allocations: 0.6802 MB / 458.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.2803, allocations: 29.7 kB / 458.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000541/0.2808, allocations: 0.7094 MB / 458.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2809, allocations: 119 kB / 459 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.2811, allocations: 150.5 kB / 459.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.2814, allocations: 382.8 kB / 459.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.2816, allocations: 149.9 kB / 459.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.2823, allocations: 0.5549 MB / 460.2 MB, free: 8.496 MB / 366.1 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.00119/0.2835, allocations: 0.8017 MB / 461 MB, free: 7.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.2835, allocations: 4 kB / 461 MB, free: 7.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001314/0.2848, allocations: 0.7979 MB / 461.8 MB, free: 6.688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2848, allocations: 15.94 kB / 461.8 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.2848, allocations: 15.94 kB / 461.9 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/0.2851, allocations: 81.69 kB / 461.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.2856, allocations: 184.3 kB / 462.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.2885, allocations: 3.114 MB / 465.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.2889, allocations: 32 kB / 465.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.289, allocations: 40 kB / 465.3 MB, free: 2.98 MB / 366.1 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.0004233/0.2894, allocations: 277.5 kB / 465.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.2895, allocations: 79.48 kB / 465.6 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.2896, allocations: 74.34 kB / 465.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2896, allocations: 4 kB / 465.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2896, allocations: 3.938 kB / 465.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2896, allocations: 0 / 465.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.2915, allocations: 1.192 MB / 466.9 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2915, allocations: 0 / 466.9 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.2918, allocations: 63.91 kB / 467 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001641/0.2919, allocations: 57.67 kB / 467 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.292, allocations: 8 kB / 467 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/0.2943, allocations: 2.843 MB / 469.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2943, allocations: 4.031 kB / 469.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/0.2953, allocations: 0.6306 MB / 470.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.2954, allocations: 71.55 kB / 470.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.2955, allocations: 11.94 kB / 470.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.2957, allocations: 15.98 kB / 470.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.2958, allocations: 27.89 kB / 470.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.2958, allocations: 11.94 kB / 470.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005343/0.2963, allocations: 439 kB / 471.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2963, allocations: 0 / 471.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008701/0.2972, allocations: 156 kB / 471.2 MB, free: 12.69 MB / 382.1 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.001387/0.2986, allocations: 1.188 MB / 472.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.3, allocations: 0.6368 MB / 473.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3, allocations: 0 / 473.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006297/0.3007, allocations: 353.2 kB / 473.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007777/0.3014, allocations: 76.05 kB / 473.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.3138, allocations: 6.474 MB / 480 MB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.3145, allocations: 450.9 kB / 480.4 MB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003958/0.3149, allocations: 82.03 kB / 480.5 MB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006729/0.3156, allocations: 423.3 kB / 480.9 MB, free: 2.359 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3156, allocations: 0 / 480.9 MB, free: 2.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05722/0.3728, allocations: 13.51 MB / 494.4 MB, free: 5.113 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.33, allocations: 2.75 kB / 494.4 MB, free: 5.113 MB / 398.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 14.79378078924492]