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.001852/0.001852, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002419/0.002419, allocations: 215.4 kB / 23.74 MB, free: 4.656 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.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 0.001486/0.001486, allocations: 47.92 kB / 377.8 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2666, allocations: 53.36 MB / 431.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00483/0.2714, allocations: 3.245 MB / 434.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.273, allocations: 0.818 MB / 435.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.2732, allocations: 8 kB / 435.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.2733, allocations: 67.36 kB / 435.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.2736, allocations: 107.1 kB / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.2739, allocations: 139.8 kB / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.2744, allocations: 442.2 kB / 436 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.2746, allocations: 120.3 kB / 436.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.2749, allocations: 171.4 kB / 436.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.2752, allocations: 183.2 kB / 436.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.2752, allocations: 47.94 kB / 436.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.2753, allocations: 44 kB / 436.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.378e-05/0.2754, allocations: 95.61 kB / 436.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.2756, allocations: 199.1 kB / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.2762, allocations: 0.5023 MB / 437.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2762, allocations: 0 / 437.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2762, allocations: 0 / 437.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.2762, allocations: 0 / 437.3 MB, free: 0.6875 MB / 334.1 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.001163/0.2773, allocations: 0.6025 MB / 437.9 MB, free: 52 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.2774, allocations: 12.03 kB / 437.9 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.88e-05/0.2775, allocations: 66.72 kB / 438 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.2777, allocations: 56.69 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.2782, allocations: 253.8 kB / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.2782, allocations: 21.03 kB / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.2782, allocations: 28.38 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.2789, allocations: 361.1 kB / 438.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2789, allocations: 0 / 438.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.2789, allocations: 12 kB / 438.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2789, allocations: 8 kB / 438.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.2795, allocations: 266.5 kB / 439 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.2815, allocations: 1.226 MB / 440.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.2821, allocations: 206.7 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.2823, allocations: 80.83 kB / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.2823, allocations: 7.984 kB / 440.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.2824, allocations: 38.56 kB / 440.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.2824, allocations: 0 / 440.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002094/0.2845, allocations: 0.5564 MB / 441.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.2845, allocations: 55.34 kB / 441.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.2849, allocations: 300.2 kB / 441.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.2849, allocations: 29.7 kB / 441.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.2851, allocations: 228.2 kB / 441.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.2851, allocations: 55.53 kB / 441.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.2852, allocations: 49.66 kB / 441.8 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2853, allocations: 334.8 kB / 442.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.2855, allocations: 75.95 kB / 442.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.2858, allocations: 163 kB / 442.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.2863, allocations: 253.2 kB / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.2863, allocations: 0 / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009765/0.2872, allocations: 406 kB / 443 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.2873, allocations: 15.88 kB / 443 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.2873, allocations: 7.984 kB / 443 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/0.2877, allocations: 108.8 kB / 443.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.2879, allocations: 39.92 kB / 443.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.2912, allocations: 2.059 MB / 445.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.2914, allocations: 43.72 kB / 445.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.2915, allocations: 12 kB / 445.3 MB, free: 8.297 MB / 350.1 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.0001939/0.2917, allocations: 149.7 kB / 445.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.2917, allocations: 23.86 kB / 445.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.2918, allocations: 33.84 kB / 445.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2918, allocations: 7.938 kB / 445.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.2918, allocations: 0 / 445.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2918, allocations: 3.984 kB / 445.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.2931, allocations: 0.6964 MB / 446.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2931, allocations: 0 / 446.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.2931, allocations: 15.98 kB / 446.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/0.2935, allocations: 96.73 kB / 446.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.2935, allocations: 8 kB / 446.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002789/0.2963, allocations: 2.055 MB / 448.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2963, allocations: 4.031 kB / 448.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.2971, allocations: 408.4 kB / 448.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.2972, allocations: 31.75 kB / 448.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.2972, allocations: 8 kB / 448.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2974, allocations: 23.97 kB / 448.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.2974, allocations: 11.92 kB / 448.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2975, allocations: 4 kB / 448.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.2977, allocations: 219.1 kB / 449.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2977, allocations: 0 / 449.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004864/0.2982, allocations: 91.77 kB / 449.1 MB, free: 4.234 MB / 350.1 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.001241/0.2994, allocations: 0.9356 MB / 450.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007679/0.3002, allocations: 344.9 kB / 450.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3002, allocations: 0 / 450.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.3006, allocations: 219.2 kB / 450.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.301, allocations: 45.27 kB / 450.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/0.3058, allocations: 3.156 MB / 453.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.3062, allocations: 0.7675 MB / 454.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.642e-05/0.3063, allocations: 22.3 kB / 454.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.3065, allocations: 99.39 kB / 454.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3065, allocations: 0 / 454.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.3436, allocations: 6.871 MB / 461.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.66, allocations: 16.59 kB / 461.6 MB, free: 7.703 MB / 366.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/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: 15.18076019]