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.00124/0.00124, allocations: 114.5 kB / 18.45 MB, free: 4.602 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.00129/0.00129, allocations: 190.7 kB / 21.4 MB, free: 1.664 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.381/1.381, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.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: 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 0.001484/0.001484, allocations: 55.91 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09442/0.09591, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004692/0.1006, allocations: 3.199 MB / 422.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.102, allocations: 0.7596 MB / 422.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1022, allocations: 7.938 kB / 423 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.1024, allocations: 63.42 kB / 423 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.1026, allocations: 115 kB / 423.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1029, allocations: 123.8 kB / 423.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004623/0.1033, allocations: 446.2 kB / 423.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.1036, allocations: 115.9 kB / 423.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.1038, allocations: 163.4 kB / 424 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.104, allocations: 179.2 kB / 424.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.425e-05/0.1041, allocations: 48 kB / 424.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.1042, allocations: 44 kB / 424.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-05/0.1042, allocations: 87.64 kB / 424.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1044, allocations: 203 kB / 424.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.105, allocations: 0.498 MB / 425 MB, free: 6.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.105, allocations: 0 / 425 MB, free: 6.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.105, allocations: 0 / 425 MB, free: 6.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.105, allocations: 0 / 425 MB, free: 6.027 MB / 350.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.00114/0.1061, allocations: 0.6701 MB / 425.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1062, allocations: 8.031 kB / 425.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.511e-05/0.1062, allocations: 44.69 kB / 425.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.1067, allocations: 311.5 kB / 426 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.1067, allocations: 25.03 kB / 426.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.1068, allocations: 28.38 kB / 426.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006599/0.1074, allocations: 349.4 kB / 426.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1074, allocations: 11.88 kB / 426.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.1075, allocations: 8 kB / 426.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1075, allocations: 12 kB / 426.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.1081, allocations: 270.4 kB / 426.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.1101, allocations: 1.257 MB / 428 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.1107, allocations: 295.7 kB / 428.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.1109, allocations: 84.81 kB / 428.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1109, allocations: 0 / 428.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.111, allocations: 38.56 kB / 428.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.111, allocations: 4 kB / 428.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002148/0.1131, allocations: 0.6356 MB / 429 MB, free: 1.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1132, allocations: 51.41 kB / 429.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.1135, allocations: 299 kB / 429.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1136, allocations: 25.7 kB / 429.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.1137, allocations: 220.3 kB / 429.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.1138, allocations: 51.53 kB / 429.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/0.1139, allocations: 53.66 kB / 429.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.114, allocations: 338.8 kB / 430 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.1142, allocations: 83.89 kB / 430.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.1145, allocations: 166.2 kB / 430.3 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.1149, allocations: 240.6 kB / 430.5 MB, free: 152 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1149, allocations: 3.938 kB / 430.5 MB, free: 148 kB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009985/0.1159, allocations: 402.1 kB / 430.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.116, allocations: 9.969 kB / 430.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.116, allocations: 7.984 kB / 430.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000443/0.1164, allocations: 108.8 kB / 431 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.1166, allocations: 39.97 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/0.1197, allocations: 2.182 MB / 433.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.12, allocations: 39.83 kB / 433.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.12, allocations: 16 kB / 433.3 MB, free: 13.2 MB / 366.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.0001739/0.1202, allocations: 141.8 kB / 433.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.1202, allocations: 31.81 kB / 433.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.1203, allocations: 25.91 kB / 433.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1203, allocations: 7.938 kB / 433.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1203, allocations: 3.938 kB / 433.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1203, allocations: 0 / 433.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.1216, allocations: 0.7172 MB / 434.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.1216, allocations: 3.984 kB / 434.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/0.1217, allocations: 15.94 kB / 434.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.122, allocations: 104.8 kB / 434.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.122, allocations: 3.938 kB / 434.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/0.1249, allocations: 2.147 MB / 436.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.125, allocations: 12.03 kB / 436.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009039/0.1259, allocations: 408.5 kB / 436.9 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.126, allocations: 108.8 kB / 437 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.126, allocations: 8 kB / 437 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.1262, allocations: 19.98 kB / 437.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.1262, allocations: 23.95 kB / 437.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1263, allocations: 3.938 kB / 437.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.1265, allocations: 210 kB / 437.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1265, allocations: 3.938 kB / 437.3 MB, free: 8.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004823/0.127, allocations: 87.89 kB / 437.4 MB, free: 8.891 MB / 366.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.0001596/0.1271, allocations: 107.2 kB / 437.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007482/0.1279, allocations: 335 kB / 437.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1279, allocations: 0 / 437.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.1283, allocations: 226.5 kB / 438 MB, free: 8.199 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.1286, allocations: 55.98 kB / 438.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1298, allocations: 0.5836 MB / 438.7 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1302, allocations: 0.7675 MB / 439.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.1302, allocations: 19.44 kB / 439.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1302, allocations: 0 / 439.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of Templates: time 0.006976/0.1372, allocations: 4.734 MB / 444.2 MB, free: 1.973 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.88481144211255]