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.001085/0.001085, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002582, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.00101/0.00101, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.002327, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9384/0.9384, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08653/1.025, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 239.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011e-05/1.151e-05, allocations: 2.312 kB / 239.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002804/0.002816, allocations: 3.198 MB / 242.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000843/0.003659, allocations: 0.775 MB / 243.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.003791, allocations: 7.938 kB / 243.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.003894, allocations: 67.34 kB / 243.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.004037, allocations: 119 kB / 243.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.004201, allocations: 119.9 kB / 243.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.004505, allocations: 457.9 kB / 244.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.004677, allocations: 127 kB / 244.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.00495, allocations: 288 kB / 244.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.005095, allocations: 135.6 kB / 244.9 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.691e-05/0.005142, allocations: 44 kB / 244.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.889e-05/0.005181, allocations: 44 kB / 244.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.005226, allocations: 63.81 kB / 245 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.972e-05/0.005316, allocations: 115.8 kB / 245.1 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.005558, allocations: 259.1 kB / 245.4 MB, free: 13.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/0.005572, allocations: 0 / 245.4 MB, free: 13.33 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005572, allocations: 0 / 245.4 MB, free: 13.33 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.005588, allocations: 4 kB / 245.4 MB, free: 13.32 MB / 250.7 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.0006934/0.006281, allocations: 0.6321 MB / 246 MB, free: 12.67 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.006312, allocations: 8.031 kB / 246 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.006379, allocations: 60.83 kB / 246.1 MB, free: 12.6 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.006606, allocations: 209.1 kB / 246.3 MB, free: 12.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.006623, allocations: 21.03 kB / 246.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.006653, allocations: 36.38 kB / 246.3 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.006956, allocations: 331.4 kB / 246.7 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.006966, allocations: 192 / 246.7 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.006988, allocations: 16.38 kB / 246.7 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.006999, allocations: 11.94 kB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.007102, allocations: 84.48 kB / 246.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.008034, allocations: 0.8937 MB / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.008217, allocations: 110.5 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.008254, allocations: 28.84 kB / 247.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.008274, allocations: 4 kB / 247.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.008296, allocations: 42.56 kB / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.008297, allocations: 0 / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005957/0.008893, allocations: 313.7 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.008916, allocations: 55.34 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.00905, allocations: 240.8 kB / 248.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.009065, allocations: 37.69 kB / 248.5 MB, free: 10.03 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.009147, allocations: 216 kB / 248.7 MB, free: 9.812 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.009175, allocations: 51.58 kB / 248.7 MB, free: 9.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.009223, allocations: 53.69 kB / 248.8 MB, free: 9.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.009306, allocations: 334.8 kB / 249.1 MB, free: 9.367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.009336, allocations: 16 kB / 249.1 MB, free: 9.352 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.009403, allocations: 106.3 kB / 249.2 MB, free: 9.211 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.009512, allocations: 152.5 kB / 249.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.009515, allocations: 0 / 249.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002378/0.009753, allocations: 218.2 kB / 249.6 MB, free: 8.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.009764, allocations: 4 kB / 249.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.009771, allocations: 7.984 kB / 249.6 MB, free: 8.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/0.01001, allocations: 92.83 kB / 249.7 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.01009, allocations: 51.86 kB / 249.7 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.01111, allocations: 1.567 MB / 251.3 MB, free: 6.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.231e-05/0.01119, allocations: 31.88 kB / 251.3 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01121, allocations: 11.98 kB / 251.4 MB, free: 6.949 MB / 250.7 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 7.796e-05/0.01128, allocations: 125.7 kB / 251.5 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.01131, allocations: 23.92 kB / 251.5 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.01134, allocations: 25.77 kB / 251.5 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01134, allocations: 4 kB / 251.5 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.01134, allocations: 0 / 251.5 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01134, allocations: 0 / 251.5 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.01171, allocations: 387.4 kB / 251.9 MB, free: 6.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01171, allocations: 3.938 kB / 251.9 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.01175, allocations: 15.98 kB / 251.9 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.01177, allocations: 15.86 kB / 251.9 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.01194, allocations: 96.98 kB / 252 MB, free: 6.223 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.01195, allocations: 4 kB / 252 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008372/0.01279, allocations: 1.54 MB / 253.6 MB, free: 4.598 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01279, allocations: 0 / 253.6 MB, free: 4.598 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.01299, allocations: 252.6 kB / 253.8 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.01301, allocations: 4 kB / 253.8 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.01309, allocations: 19.98 kB / 253.9 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.01312, allocations: 15.95 kB / 253.9 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.01313, allocations: 8 kB / 253.9 MB, free: 4.285 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.692e-05/0.01318, allocations: 78.72 kB / 254 MB, free: 4.207 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01318, allocations: 4 kB / 254 MB, free: 4.203 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.01343, allocations: 95.8 kB / 254.1 MB, free: 4.109 MB / 250.7 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 7.614e-05/0.0135, allocations: 84.41 kB / 254.1 MB, free: 4.016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.01376, allocations: 247.6 kB / 254.4 MB, free: 3.758 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.01377, allocations: 8.109 kB / 254.4 MB, free: 3.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.0139, allocations: 189.9 kB / 254.6 MB, free: 3.551 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.01409, allocations: 48.48 kB / 254.6 MB, free: 3.504 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.01619, allocations: 0.5503 MB / 255.2 MB, free: 2.926 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.331e-05/0.01624, allocations: 92.3 kB / 255.3 MB, free: 2.816 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.368e-05/0.0163, allocations: 18.53 kB / 255.3 MB, free: 2.797 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.701e-05/0.01638, allocations: 83.36 kB / 255.4 MB, free: 2.715 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01639, allocations: 4 kB / 255.4 MB, free: 2.711 MB / 250.7 MB Notification: Performance of Templates: time 0.005066/0.02145, allocations: 3.565 MB / 258.9 MB, free: 15.19 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4752152720466256]