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.001327/0.001327, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001756/0.001756, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.00164/0.00164, allocations: 43.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2541, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004651/0.2588, allocations: 2.97 MB / 434.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2603, allocations: 0.779 MB / 434.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.2604, allocations: 7.938 kB / 434.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.2607, allocations: 63.42 kB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.2609, allocations: 119 kB / 435.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.2612, allocations: 135.8 kB / 435.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.2617, allocations: 446.2 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.2619, allocations: 106.1 kB / 435.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.2622, allocations: 171.4 kB / 435.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.2624, allocations: 163.2 kB / 436 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.275e-05/0.2625, allocations: 44 kB / 436.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.2626, allocations: 47.98 kB / 436.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.264e-05/0.2627, allocations: 87.69 kB / 436.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.2629, allocations: 155.3 kB / 436.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.2634, allocations: 0.5136 MB / 436.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2634, allocations: 0 / 436.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2634, allocations: 0 / 436.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.2635, allocations: 0 / 436.9 MB, free: 0.8477 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.001082/0.2645, allocations: 0.6025 MB / 437.5 MB, free: 216 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.2646, allocations: 12.03 kB / 437.5 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.775e-05/0.2647, allocations: 66.72 kB / 437.6 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.2648, allocations: 52.69 kB / 437.6 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.2653, allocations: 253.8 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.2653, allocations: 25.03 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.2654, allocations: 36.36 kB / 437.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.2661, allocations: 422.3 kB / 438.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2661, allocations: 0 / 438.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.2661, allocations: 19.98 kB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.2662, allocations: 12 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.2667, allocations: 266.4 kB / 438.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.2687, allocations: 1.14 MB / 439.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.2693, allocations: 194.7 kB / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.2695, allocations: 92.81 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.2695, allocations: 0 / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.2696, allocations: 42.5 kB / 440.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.2696, allocations: 0 / 440.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002113/0.2717, allocations: 0.5564 MB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2717, allocations: 55.41 kB / 440.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.2721, allocations: 308.1 kB / 441 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2721, allocations: 29.7 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.2722, allocations: 220.3 kB / 441.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.2723, allocations: 63.47 kB / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.2724, allocations: 45.7 kB / 441.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2725, allocations: 338.8 kB / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.2727, allocations: 71.97 kB / 441.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.2729, allocations: 170.9 kB / 441.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.2734, allocations: 246.1 kB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2734, allocations: 4 kB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009491/0.2743, allocations: 408.5 kB / 442.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2743, allocations: 7.938 kB / 442.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2744, allocations: 4 kB / 442.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/0.2748, allocations: 104.9 kB / 442.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2749, allocations: 47.91 kB / 442.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.278, allocations: 2.039 MB / 444.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.2782, allocations: 43.83 kB / 444.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.2782, allocations: 15.94 kB / 444.8 MB, free: 8.461 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.000164/0.2784, allocations: 143.9 kB / 445 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.2784, allocations: 31.8 kB / 445 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.2785, allocations: 29.84 kB / 445 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.2785, allocations: 7.938 kB / 445 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.2785, allocations: 0 / 445 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2785, allocations: 0 / 445 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.2798, allocations: 0.6701 MB / 445.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2798, allocations: 0 / 445.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.2798, allocations: 12 kB / 445.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/0.2802, allocations: 112.7 kB / 445.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2802, allocations: 0 / 445.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.2831, allocations: 2.028 MB / 447.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2831, allocations: 4 kB / 447.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.2839, allocations: 415.6 kB / 448.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.284, allocations: 31.78 kB / 448.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.284, allocations: 4 kB / 448.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.2842, allocations: 15.98 kB / 448.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.2843, allocations: 23.91 kB / 448.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.2843, allocations: 0 / 448.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.2845, allocations: 215.1 kB / 448.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2845, allocations: 0 / 448.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004571/0.285, allocations: 91.84 kB / 448.6 MB, free: 4.457 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.001198/0.2862, allocations: 0.9394 MB / 449.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007289/0.2869, allocations: 334.4 kB / 449.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2869, allocations: 4 kB / 449.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.2873, allocations: 219.2 kB / 450.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.2877, allocations: 52.36 kB / 450.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/0.2927, allocations: 3.144 MB / 453.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.2928, allocations: 164.8 kB / 453.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.2929, allocations: 22.28 kB / 453.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.2931, allocations: 99.41 kB / 453.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2931, allocations: 0 / 453.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03822/0.3313, allocations: 7.085 MB / 460.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.62, allocations: 14.34 kB / 460.7 MB, free: 8.344 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.144408009946346]