Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002292/0.002292, allocations: 183.9 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 51.92 kB / 370.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3237, allocations: 52.19 MB / 422.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.007589/0.3313, allocations: 3.206 MB / 425.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.3335, allocations: 0.779 MB / 426.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.3337, allocations: 7.938 kB / 426.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.334, allocations: 59.44 kB / 426.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.3343, allocations: 119 kB / 426.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.3348, allocations: 115.8 kB / 426.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007736/0.3356, allocations: 450.2 kB / 427.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003505/0.3359, allocations: 116.4 kB / 427.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.3363, allocations: 167.3 kB / 427.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.3366, allocations: 179.2 kB / 427.8 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.58e-05/0.3367, allocations: 44 kB / 427.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.3368, allocations: 48 kB / 427.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.337, allocations: 87.69 kB / 428 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002923/0.3373, allocations: 203 kB / 428.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008295/0.3381, allocations: 0.4946 MB / 428.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3381, allocations: 0 / 428.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3381, allocations: 0 / 428.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3381, allocations: 0 / 428.7 MB, free: 8.473 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.001196/0.3393, allocations: 0.5948 MB / 429.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3393, allocations: 8.031 kB / 429.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.907e-05/0.3394, allocations: 70.72 kB / 429.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.3395, allocations: 40.7 kB / 429.4 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.34, allocations: 249.9 kB / 429.7 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.34, allocations: 33.02 kB / 429.7 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.3401, allocations: 24.38 kB / 429.7 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006674/0.3407, allocations: 349.2 kB / 430.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3408, allocations: 3.938 kB / 430.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.3408, allocations: 16 kB / 430.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.3408, allocations: 12 kB / 430.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.3414, allocations: 266.5 kB / 430.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.3435, allocations: 1.214 MB / 431.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.3441, allocations: 202.7 kB / 431.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.3443, allocations: 92.75 kB / 431.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.3443, allocations: 0 / 431.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3444, allocations: 38.56 kB / 431.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.3444, allocations: 0 / 431.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002024/0.3464, allocations: 0.5603 MB / 432.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3464, allocations: 55.41 kB / 432.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.3468, allocations: 296.2 kB / 432.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.3468, allocations: 29.7 kB / 432.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.347, allocations: 220.2 kB / 433 MB, free: 3.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.347, allocations: 59.52 kB / 433.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.3471, allocations: 53.59 kB / 433.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3473, allocations: 342.8 kB / 433.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.3475, allocations: 75.95 kB / 433.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.3477, allocations: 166.2 kB / 433.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.3482, allocations: 241 kB / 434 MB, free: 2.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3482, allocations: 3.984 kB / 434 MB, free: 2.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001038/0.3492, allocations: 406.1 kB / 434.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3493, allocations: 7.938 kB / 434.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3493, allocations: 4 kB / 434.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.3497, allocations: 108.8 kB / 434.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.3499, allocations: 31.98 kB / 434.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.3531, allocations: 2.082 MB / 436.6 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.3533, allocations: 39.83 kB / 436.6 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.3533, allocations: 12 kB / 436.6 MB, free: 116 kB / 334.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.0002151/0.3535, allocations: 145.8 kB / 436.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.3536, allocations: 31.84 kB / 436.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.3537, allocations: 21.86 kB / 436.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3537, allocations: 11.92 kB / 436.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.3537, allocations: 0 / 436.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3537, allocations: 0 / 436.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.355, allocations: 0.6974 MB / 437.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.355, allocations: 0 / 437.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.3551, allocations: 19.92 kB / 437.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00033/0.3554, allocations: 96.73 kB / 437.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.3555, allocations: 8 kB / 437.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0029/0.3584, allocations: 2.048 MB / 439.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3584, allocations: 4.062 kB / 439.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.3592, allocations: 416.1 kB / 440.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.3593, allocations: 27.75 kB / 440.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.3593, allocations: 4 kB / 440.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3595, allocations: 27.97 kB / 440.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.3596, allocations: 11.92 kB / 440.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3596, allocations: 4 kB / 440.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.3598, allocations: 223 kB / 440.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3598, allocations: 0 / 440.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005229/0.3603, allocations: 87.83 kB / 440.5 MB, free: 12.06 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.001218/0.3615, allocations: 0.9388 MB / 441.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007708/0.3623, allocations: 342.5 kB / 441.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3623, allocations: 0 / 441.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.3627, allocations: 219.1 kB / 442 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.3631, allocations: 52.48 kB / 442 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/0.368, allocations: 3.125 MB / 445.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.3685, allocations: 0.7714 MB / 445.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.3686, allocations: 34.25 kB / 446 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3687, allocations: 95.41 kB / 446.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3687, allocations: 0 / 446.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/0.4062, allocations: 6.829 MB / 452.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.02, allocations: 4.531 kB / 452.9 MB, free: 15.57 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv. Warning: Get data of variable vOut.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.46114881000176]