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.001329/0.001329, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00215/0.00215, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001535/0.001535, allocations: 55.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.267, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004656/0.2717, allocations: 2.967 MB / 434.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2732, allocations: 0.7752 MB / 434.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.2734, allocations: 7.938 kB / 434.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.2736, allocations: 63.42 kB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.2738, allocations: 119 kB / 435 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.2741, allocations: 127.8 kB / 435.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004746/0.2746, allocations: 450.2 kB / 435.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.2748, allocations: 118 kB / 435.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.2751, allocations: 175.4 kB / 435.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.2753, allocations: 179.2 kB / 436.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.605e-05/0.2754, allocations: 40 kB / 436.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.803e-05/0.2755, allocations: 48 kB / 436.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.057e-05/0.2756, allocations: 91.67 kB / 436.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.2758, allocations: 167.2 kB / 436.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.2763, allocations: 0.5058 MB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2763, allocations: 0 / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2763, allocations: 0 / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.2763, allocations: 0 / 436.9 MB, free: 0.8164 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.001108/0.2775, allocations: 0.6025 MB / 437.5 MB, free: 184 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2775, allocations: 12.03 kB / 437.5 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.382e-05/0.2776, allocations: 70.66 kB / 437.6 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.2778, allocations: 48.69 kB / 437.6 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.2782, allocations: 257.8 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.2783, allocations: 33.02 kB / 437.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.2783, allocations: 32.38 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.279, allocations: 422.3 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.279, allocations: 0 / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.2791, allocations: 16 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.2791, allocations: 8 kB / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.2797, allocations: 270.4 kB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.2818, allocations: 1.14 MB / 439.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.2823, allocations: 194.8 kB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.2825, allocations: 84.81 kB / 440.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.2826, allocations: 4 kB / 440.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.2826, allocations: 38.5 kB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.2826, allocations: 11.94 kB / 440.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002125/0.2847, allocations: 0.5551 MB / 440.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.2848, allocations: 55.41 kB / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.2851, allocations: 308.1 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.2852, allocations: 29.7 kB / 441.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.2853, allocations: 224.3 kB / 441.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.2854, allocations: 55.48 kB / 441.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/0.2855, allocations: 49.7 kB / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2856, allocations: 334.8 kB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.2859, allocations: 79.95 kB / 441.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.2861, allocations: 163 kB / 442 MB, free: 11.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.2866, allocations: 246.1 kB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.2866, allocations: 4 kB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001007/0.2876, allocations: 412.5 kB / 442.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.2876, allocations: 7.938 kB / 442.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2876, allocations: 4 kB / 442.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.2881, allocations: 104.8 kB / 442.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.2882, allocations: 39.92 kB / 442.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.2914, allocations: 2.058 MB / 444.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.2917, allocations: 39.77 kB / 444.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.2918, allocations: 12 kB / 444.9 MB, free: 8.426 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.0001879/0.292, allocations: 145.9 kB / 445 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.292, allocations: 27.81 kB / 445 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.974e-05/0.2921, allocations: 29.84 kB / 445.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2921, allocations: 11.88 kB / 445.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2921, allocations: 0 / 445.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2921, allocations: 0 / 445.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.2934, allocations: 0.6624 MB / 445.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2934, allocations: 0 / 445.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-05/0.2935, allocations: 16 kB / 445.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003584/0.2939, allocations: 100.7 kB / 445.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2939, allocations: 4 kB / 445.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003001/0.2969, allocations: 2.036 MB / 447.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2969, allocations: 3.938 kB / 447.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008933/0.2978, allocations: 412.4 kB / 448.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.2978, allocations: 31.78 kB / 448.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.2979, allocations: 8 kB / 448.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.2981, allocations: 15.98 kB / 448.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.2981, allocations: 19.91 kB / 448.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2982, allocations: 4 kB / 448.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.2984, allocations: 215.1 kB / 448.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2984, allocations: 0 / 448.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004833/0.2989, allocations: 91.84 kB / 448.7 MB, free: 4.418 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.001307/0.3002, allocations: 0.9423 MB / 449.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007972/0.301, allocations: 330.5 kB / 449.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.301, allocations: 8 kB / 449.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.3014, allocations: 218.5 kB / 450.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.3018, allocations: 41.47 kB / 450.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/0.3069, allocations: 3.147 MB / 453.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.3071, allocations: 164.8 kB / 453.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.3072, allocations: 26.28 kB / 453.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3074, allocations: 99.39 kB / 453.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3074, allocations: 0 / 453.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04997/0.3573, allocations: 7.173 MB / 460.8 MB, free: 8.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.52, allocations: 10.64 kB / 460.8 MB, free: 8.223 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.876355939020868]