Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001956/0.001956, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002287/0.002287, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 71.89 kB / 377.8 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2584, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005268/0.2636, allocations: 3.251 MB / 434.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.2653, allocations: 0.7946 MB / 435.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.2655, allocations: 7.938 kB / 435.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.2657, allocations: 71.3 kB / 435.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.2659, allocations: 115 kB / 435.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.2663, allocations: 123.8 kB / 435.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000524/0.2668, allocations: 442.2 kB / 436 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.2671, allocations: 108.4 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.2673, allocations: 183.3 kB / 436.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.2676, allocations: 179.2 kB / 436.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.2677, allocations: 44 kB / 436.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.2677, allocations: 48 kB / 436.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.2678, allocations: 87.64 kB / 436.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.268, allocations: 207 kB / 436.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005795/0.2686, allocations: 0.5218 MB / 437.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2686, allocations: 0 / 437.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2686, allocations: 0 / 437.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.2686, allocations: 0 / 437.4 MB, free: 0.5078 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001038/0.2696, allocations: 0.5889 MB / 438 MB, free: 15.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.2697, allocations: 8.031 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.141e-05/0.2698, allocations: 70.72 kB / 438 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.2699, allocations: 52.69 kB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.2704, allocations: 253.8 kB / 438.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.2704, allocations: 29.02 kB / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.2705, allocations: 44.31 kB / 438.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.271, allocations: 296.1 kB / 438.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.271, allocations: 3.938 kB / 438.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.2711, allocations: 12 kB / 438.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.2711, allocations: 8 kB / 438.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.2715, allocations: 250.5 kB / 439 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.2734, allocations: 1.17 MB / 440.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.2738, allocations: 178.7 kB / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.2739, allocations: 72.83 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.2739, allocations: 4 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.2739, allocations: 38.56 kB / 440.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.274, allocations: 0 / 440.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001313/0.2753, allocations: 416.7 kB / 440.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2753, allocations: 63.28 kB / 440.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.2756, allocations: 304.1 kB / 441.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.2757, allocations: 29.7 kB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.2758, allocations: 220.3 kB / 441.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.2759, allocations: 63.48 kB / 441.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/0.2759, allocations: 53.66 kB / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2761, allocations: 334.8 kB / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2762, allocations: 63.97 kB / 441.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.2764, allocations: 141.4 kB / 442.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.2767, allocations: 220.8 kB / 442.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2767, allocations: 4 kB / 442.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006578/0.2774, allocations: 341.9 kB / 442.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2774, allocations: 8 kB / 442.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2774, allocations: 3.938 kB / 442.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.2778, allocations: 105 kB / 442.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.278, allocations: 35.92 kB / 442.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.2807, allocations: 2.072 MB / 444.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.2809, allocations: 39.72 kB / 444.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.2809, allocations: 8 kB / 444.9 MB, free: 8.566 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satNeg,add.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.2811, allocations: 153.8 kB / 445 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.2811, allocations: 27.86 kB / 445.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.2812, allocations: 30.12 kB / 445.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2812, allocations: 4 kB / 445.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2812, allocations: 3.938 kB / 445.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2812, allocations: 0 / 445.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000997/0.2822, allocations: 0.6609 MB / 445.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2822, allocations: 0 / 445.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/0.2823, allocations: 15.98 kB / 445.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003111/0.2826, allocations: 96.66 kB / 445.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.2826, allocations: 11.98 kB / 445.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.285, allocations: 2.053 MB / 447.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.285, allocations: 4.031 kB / 447.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/0.2856, allocations: 356.4 kB / 448.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.2856, allocations: 31.84 kB / 448.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.2857, allocations: 4 kB / 448.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.2859, allocations: 23.98 kB / 448.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.2859, allocations: 19.91 kB / 448.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2859, allocations: 4 kB / 448.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.2861, allocations: 211.1 kB / 448.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2861, allocations: 0 / 448.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004621/0.2866, allocations: 103.8 kB / 448.7 MB, free: 4.574 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: 2 (add.opAmp.satPos,add.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008787/0.2875, allocations: 0.8882 MB / 449.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005954/0.2881, allocations: 323.8 kB / 449.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2881, allocations: 0 / 449.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.2884, allocations: 219.2 kB / 450.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.2888, allocations: 47.94 kB / 450.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.2929, allocations: 2.997 MB / 453.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.2933, allocations: 0.7756 MB / 453.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.608e-05/0.2934, allocations: 22.92 kB / 453.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.2935, allocations: 107.4 kB / 454.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2935, allocations: 0 / 454.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05131/0.3449, allocations: 7.121 MB / 461.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.7, allocations: 15.92 kB / 461.2 MB, free: 7.969 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv. Warning: Get data of variable vOut.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.237646182999015]