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.001663/0.001663, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001883/0.001883, allocations: 184.2 kB / 23.7 MB, free: 4.191 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.434/1.434, allocations: 225.7 MB / 252.5 MB, free: 12.87 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.001591/0.001591, allocations: 51.92 kB / 370.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.239, allocations: 52.18 MB / 422.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004546/0.2436, allocations: 2.934 MB / 425.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2451, allocations: 0.744 MB / 426.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.2453, allocations: 15.88 kB / 426.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.2455, allocations: 59.38 kB / 426.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.2458, allocations: 115 kB / 426.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.2461, allocations: 119.8 kB / 426.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000549/0.2467, allocations: 450.2 kB / 427 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.2469, allocations: 102.3 kB / 427.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.2472, allocations: 171.4 kB / 427.3 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.2475, allocations: 163.1 kB / 427.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.2476, allocations: 40 kB / 427.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.2476, allocations: 44 kB / 427.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.2477, allocations: 79.77 kB / 427.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.2479, allocations: 167.2 kB / 427.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.2484, allocations: 0.4981 MB / 428.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2484, allocations: 0 / 428.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2484, allocations: 4 kB / 428.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.2485, allocations: 0 / 428.3 MB, free: 8.855 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.0011/0.2496, allocations: 0.5948 MB / 428.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2496, allocations: 12.03 kB / 428.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.151e-05/0.2497, allocations: 70.72 kB / 428.9 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.807e-05/0.2497, allocations: 44.66 kB / 429 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.2502, allocations: 241.9 kB / 429.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.2502, allocations: 25.03 kB / 429.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.2502, allocations: 28.38 kB / 429.3 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.2509, allocations: 438.2 kB / 429.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2509, allocations: 0 / 429.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.251, allocations: 12 kB / 429.7 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.251, allocations: 11.94 kB / 429.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005943/0.2516, allocations: 266.5 kB / 430 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.2536, allocations: 1.128 MB / 431.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.2542, allocations: 202.7 kB / 431.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.2544, allocations: 92.8 kB / 431.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.2544, allocations: 4 kB / 431.4 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.2545, allocations: 30.56 kB / 431.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.2545, allocations: 0 / 431.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002121/0.2566, allocations: 0.5718 MB / 432 MB, free: 4.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.2567, allocations: 55.41 kB / 432.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.257, allocations: 300.1 kB / 432.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.2571, allocations: 37.64 kB / 432.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.2572, allocations: 220.3 kB / 432.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.2573, allocations: 55.52 kB / 432.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.2574, allocations: 49.7 kB / 432.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2575, allocations: 334.8 kB / 433 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.2577, allocations: 75.97 kB / 433.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.258, allocations: 158.2 kB / 433.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.2585, allocations: 252.7 kB / 433.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2585, allocations: 0 / 433.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009803/0.2595, allocations: 410 kB / 433.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.2595, allocations: 11.94 kB / 433.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2595, allocations: 0 / 433.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/0.2599, allocations: 100.8 kB / 434 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2601, allocations: 51.94 kB / 434.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.2633, allocations: 2.051 MB / 436.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.2636, allocations: 39.72 kB / 436.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.2636, allocations: 12 kB / 436.2 MB, free: 0.5039 MB / 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.0001779/0.2638, allocations: 149.7 kB / 436.3 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.2638, allocations: 27.86 kB / 436.4 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.2639, allocations: 25.84 kB / 436.4 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2639, allocations: 11.88 kB / 436.4 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2639, allocations: 7.984 kB / 436.4 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2639, allocations: 0 / 436.4 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.2652, allocations: 0.6546 MB / 437.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.2652, allocations: 3.984 kB / 437.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.2653, allocations: 12 kB / 437.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003374/0.2656, allocations: 104.7 kB / 437.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2657, allocations: 4 kB / 437.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.2686, allocations: 2.028 MB / 439.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2686, allocations: 3.938 kB / 439.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/0.2694, allocations: 416.4 kB / 439.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.2695, allocations: 27.84 kB / 439.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.2695, allocations: 0 / 439.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.2697, allocations: 23.98 kB / 439.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.2698, allocations: 19.91 kB / 439.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2698, allocations: 4 kB / 439.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000233/0.27, allocations: 211.1 kB / 439.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.27, allocations: 0 / 439.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004825/0.2705, allocations: 95.78 kB / 440 MB, free: 12.5 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.001219/0.2717, allocations: 0.9312 MB / 440.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007366/0.2725, allocations: 346.2 kB / 441.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2725, allocations: 0.6875 kB / 441.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.2728, allocations: 226.6 kB / 441.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.2732, allocations: 48.38 kB / 441.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.2781, allocations: 3.122 MB / 444.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.2783, allocations: 164.8 kB / 444.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.917e-05/0.2784, allocations: 30.27 kB / 444.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.2785, allocations: 91.34 kB / 444.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2785, allocations: 0 / 444.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.3168, allocations: 7.085 MB / 452 MB, free: 428 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.91, allocations: 9.719 kB / 452 MB, free: 424 kB / 350.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.402241325005889]