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.001337/0.001337, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.00143/0.00143, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.612/1.612, allocations: 230.6 MB / 254.8 MB, free: 15.23 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 55.91 kB / 374.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1137, allocations: 53.33 MB / 427.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005269/0.119, allocations: 3.215 MB / 430.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1208, allocations: 0.818 MB / 431.6 MB, free: 200 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004166/0.1213, allocations: 11.94 kB / 431.6 MB, free: 188 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1216, allocations: 55.44 kB / 431.6 MB, free: 132 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004789/0.122, allocations: 119 kB / 431.7 MB, free: 12 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.1226, allocations: 135.8 kB / 431.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007578/0.1233, allocations: 442.2 kB / 432.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.1236, allocations: 115.9 kB / 432.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.124, allocations: 171.4 kB / 432.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.1243, allocations: 183.2 kB / 432.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.58e-05/0.1244, allocations: 44 kB / 432.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1245, allocations: 44 kB / 432.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.1246, allocations: 91.69 kB / 432.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.1248, allocations: 207 kB / 433.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006124/0.1254, allocations: 0.5058 MB / 433.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1254, allocations: 0 / 433.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1254, allocations: 0 / 433.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1254, allocations: 0 / 433.6 MB, free: 14.09 MB / 366.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.001183/0.1266, allocations: 0.6662 MB / 434.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1266, allocations: 12.03 kB / 434.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.1268, allocations: 52.69 kB / 434.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/0.1273, allocations: 311.7 kB / 434.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.1274, allocations: 25.03 kB / 434.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.1274, allocations: 28.38 kB / 434.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006815/0.1281, allocations: 353.4 kB / 435.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1281, allocations: 0 / 435.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.1281, allocations: 12 kB / 435.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1281, allocations: 4 kB / 435.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006238/0.1288, allocations: 282.4 kB / 435.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.1309, allocations: 1.264 MB / 436.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.1315, allocations: 287.8 kB / 436.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.1317, allocations: 88.75 kB / 437 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1318, allocations: 4 kB / 437 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1318, allocations: 34.5 kB / 437 MB, free: 10.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.1318, allocations: 0 / 437 MB, free: 10.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002245/0.134, allocations: 0.6416 MB / 437.7 MB, free: 9.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.1341, allocations: 51.41 kB / 437.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.1345, allocations: 299 kB / 438 MB, free: 9.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1345, allocations: 25.7 kB / 438 MB, free: 9.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.1347, allocations: 224.3 kB / 438.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.1347, allocations: 63.5 kB / 438.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.1348, allocations: 49.66 kB / 438.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.135, allocations: 342.8 kB / 438.7 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.1352, allocations: 75.95 kB / 438.8 MB, free: 8.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.1355, allocations: 166.2 kB / 438.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.1359, allocations: 244.3 kB / 439.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.136, allocations: 0 / 439.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00101/0.137, allocations: 406 kB / 439.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.137, allocations: 7.938 kB / 439.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.137, allocations: 8.062 kB / 439.6 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004589/0.1374, allocations: 96.8 kB / 439.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1376, allocations: 43.91 kB / 439.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.1409, allocations: 2.185 MB / 441.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.1411, allocations: 39.77 kB / 442 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1412, allocations: 12.06 kB / 442 MB, free: 5.262 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.0001732/0.1413, allocations: 145.8 kB / 442.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.1414, allocations: 27.8 kB / 442.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.1415, allocations: 29.91 kB / 442.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1415, allocations: 7.938 kB / 442.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-06/0.1415, allocations: 3.938 kB / 442.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1415, allocations: 0 / 442.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.1428, allocations: 0.7295 MB / 442.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1428, allocations: 0 / 442.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.1429, allocations: 8 kB / 442.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/0.1433, allocations: 104.8 kB / 443 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.1433, allocations: 11.94 kB / 443 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/0.1463, allocations: 2.147 MB / 445.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1463, allocations: 3.938 kB / 445.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.1472, allocations: 418.7 kB / 445.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.1473, allocations: 104.9 kB / 445.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.1473, allocations: 0 / 445.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.1475, allocations: 27.97 kB / 445.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.1476, allocations: 11.98 kB / 445.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1476, allocations: 11.94 kB / 445.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.1478, allocations: 210 kB / 446 MB, free: 1.031 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1478, allocations: 0 / 446 MB, free: 1.031 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005069/0.1483, allocations: 91.83 kB / 446 MB, free: 0.9414 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.0001728/0.1485, allocations: 103.2 kB / 446.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007784/0.1493, allocations: 337 kB / 446.5 MB, free: 500 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1493, allocations: 0 / 446.5 MB, free: 500 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.1497, allocations: 227.2 kB / 446.7 MB, free: 260 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.1501, allocations: 49.11 kB / 446.7 MB, free: 208 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2086/0.3587, allocations: 0.59 MB / 447.3 MB, free: 24.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.3589, allocations: 0.7689 MB / 448.1 MB, free: 23.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.359, allocations: 20.62 kB / 448.1 MB, free: 23.48 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.359, allocations: 1.5 kB / 448.1 MB, free: 23.48 MB / 366.1 MB Notification: Performance of Templates: time 0.00863/0.3676, allocations: 4.744 MB / 452.9 MB, free: 23.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] 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: 7.517647455999395]