Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.001185/0.001185, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009525/0.0009525, 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.9617/0.9617, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.122e-05, allocations: 2.281 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003133/0.003154, allocations: 2.988 MB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.004166, allocations: 0.7751 MB / 328.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.004297, allocations: 11.94 kB / 328.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.00444, allocations: 67.36 kB / 328.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.004587, allocations: 111 kB / 328.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.004869, allocations: 139.7 kB / 328.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.005169, allocations: 465.8 kB / 329.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.005364, allocations: 108.5 kB / 329.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.005651, allocations: 271.3 kB / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.005786, allocations: 127.6 kB / 329.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.005827, allocations: 44 kB / 329.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.817e-05/0.005896, allocations: 48 kB / 329.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.006086, allocations: 87.67 kB / 329.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.006173, allocations: 135.7 kB / 330 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.006581, allocations: 0.5101 MB / 330.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.006584, allocations: 0 / 330.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006585, allocations: 0 / 330.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.006592, allocations: 0 / 330.5 MB, free: 10.02 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007142/0.007306, allocations: 0.6025 MB / 331.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.007343, allocations: 8.031 kB / 331.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.007396, allocations: 74.66 kB / 331.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.007512, allocations: 52.69 kB / 331.2 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.007811, allocations: 257 kB / 331.5 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.007828, allocations: 21.03 kB / 331.5 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.007855, allocations: 28.38 kB / 331.5 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.008279, allocations: 426.7 kB / 331.9 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.008289, allocations: 192 / 331.9 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.008311, allocations: 20.12 kB / 331.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.008318, allocations: 8 kB / 331.9 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.008664, allocations: 274.4 kB / 332.2 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.00995, allocations: 1.122 MB / 333.3 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.01031, allocations: 202.6 kB / 333.5 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.01043, allocations: 88.81 kB / 333.6 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.01045, allocations: 7.938 kB / 333.6 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.01047, allocations: 34.56 kB / 333.7 MB, free: 6.633 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.01048, allocations: 0 / 333.7 MB, free: 6.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.00113/0.01161, allocations: 0.5667 MB / 334.2 MB, free: 6.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.01164, allocations: 59.39 kB / 334.3 MB, free: 5.988 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.01186, allocations: 308.1 kB / 334.6 MB, free: 5.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.01187, allocations: 29.64 kB / 334.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.737e-05/0.01197, allocations: 216.3 kB / 334.8 MB, free: 5.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.012, allocations: 63.47 kB / 334.9 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.01205, allocations: 49.7 kB / 334.9 MB, free: 5.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.01214, allocations: 334.8 kB / 335.3 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.01225, allocations: 75.97 kB / 335.3 MB, free: 4.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.0124, allocations: 162.2 kB / 335.5 MB, free: 4.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.01266, allocations: 250 kB / 335.7 MB, free: 4.422 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01266, allocations: 0 / 335.7 MB, free: 4.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005226/0.01319, allocations: 404.6 kB / 336.1 MB, free: 4.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.0132, allocations: 8 kB / 336.1 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01321, allocations: 8.062 kB / 336.2 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.01349, allocations: 100.7 kB / 336.3 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.01358, allocations: 39.91 kB / 336.3 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.01553, allocations: 2.039 MB / 338.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.01564, allocations: 47.77 kB / 338.4 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.01565, allocations: 12 kB / 338.4 MB, free: 1.648 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.01576, allocations: 149.7 kB / 338.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.01579, allocations: 27.81 kB / 338.6 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.01583, allocations: 33.78 kB / 338.6 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01583, allocations: 0 / 338.6 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01584, allocations: 0 / 338.6 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.01584, allocations: 7.938 kB / 338.6 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.01657, allocations: 0.6623 MB / 339.3 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01657, allocations: 3.984 kB / 339.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.01661, allocations: 8 kB / 339.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/0.01679, allocations: 105.1 kB / 339.4 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.0168, allocations: 4 kB / 339.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.01836, allocations: 2.032 MB / 341.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01836, allocations: 0 / 341.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.01883, allocations: 419.1 kB / 341.8 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.01886, allocations: 27.84 kB / 341.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.01887, allocations: 4 kB / 341.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.01897, allocations: 27.92 kB / 341.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.01902, allocations: 11.97 kB / 341.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.01903, allocations: 8 kB / 341.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.01918, allocations: 215.1 kB / 342.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01918, allocations: 0 / 342.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.01948, allocations: 95.78 kB / 342.2 MB, free: 13.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007541/0.02023, allocations: 0.9355 MB / 343.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.02072, allocations: 338.2 kB / 343.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.02072, allocations: 0 / 343.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.02092, allocations: 227.2 kB / 343.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.02121, allocations: 48.77 kB / 343.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.02423, allocations: 3.151 MB / 346.9 MB, free: 8.734 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.02435, allocations: 164.8 kB / 347.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.681e-05/0.02442, allocations: 26.28 kB / 347.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.445e-05/0.02451, allocations: 96.47 kB / 347.2 MB, free: 8.43 MB / 314.7 MB Notification: Performance of SimCode: time 9.21e-07/0.02451, allocations: 3.938 kB / 347.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.04756, allocations: 7.23 MB / 354.4 MB, free: 1.363 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/7.812, allocations: 7 kB / 354.4 MB, free: 1.359 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_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_OpAmps_Adder.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vOut.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv. Warning: Get data of variable vOut.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.646283956244588]