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.001318/0.001318, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001405/0.001405, allocations: 210.2 kB / 24.49 MB, free: 3.965 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.00159/0.00159, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2246, allocations: 53.37 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004396/0.229, allocations: 2.961 MB / 435.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.2304, allocations: 0.7946 MB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.2305, allocations: 4 kB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.2307, allocations: 59.38 kB / 436.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.2309, allocations: 115.1 kB / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.2313, allocations: 131.8 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.2317, allocations: 450.2 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.232, allocations: 112 kB / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.2322, allocations: 183.3 kB / 437.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.2325, allocations: 187.2 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.178e-05/0.2325, allocations: 44 kB / 437.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.811e-05/0.2326, allocations: 48 kB / 437.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.826e-05/0.2327, allocations: 79.77 kB / 437.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.2329, allocations: 163.2 kB / 437.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005671/0.2334, allocations: 0.5049 MB / 438.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2334, allocations: 0 / 438.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2334, allocations: 0 / 438.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2335, allocations: 0 / 438.2 MB, free: 0.918 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.001119/0.2346, allocations: 0.6025 MB / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2346, allocations: 8.031 kB / 438.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.2348, allocations: 56.69 kB / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.2352, allocations: 257.8 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2353, allocations: 21.03 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.2353, allocations: 28.38 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.236, allocations: 430.4 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2361, allocations: 4 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.2361, allocations: 12 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.2361, allocations: 8 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006235/0.2367, allocations: 270.5 kB / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.2387, allocations: 1.074 MB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.2393, allocations: 202.7 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.2395, allocations: 92.75 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.2395, allocations: 0 / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.2396, allocations: 42.56 kB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.2396, allocations: 0 / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002165/0.2417, allocations: 0.5592 MB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.2418, allocations: 59.34 kB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.2421, allocations: 277.7 kB / 442.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.2421, allocations: 25.7 kB / 442.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.2423, allocations: 224.2 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.2423, allocations: 55.48 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.685e-05/0.2424, allocations: 53.7 kB / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2425, allocations: 330.8 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.2428, allocations: 79.95 kB / 442.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.243, allocations: 166.2 kB / 443.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.2435, allocations: 242.1 kB / 443.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2435, allocations: 4 kB / 443.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001019/0.2445, allocations: 404.8 kB / 443.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2446, allocations: 8 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2446, allocations: 4.062 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/0.245, allocations: 104.7 kB / 443.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2452, allocations: 39.92 kB / 443.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003452/0.2486, allocations: 2.024 MB / 445.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.249, allocations: 43.83 kB / 445.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.249, allocations: 11.94 kB / 445.9 MB, free: 8.762 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.0002262/0.2492, allocations: 145.8 kB / 446.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.2493, allocations: 23.86 kB / 446.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.402e-05/0.2494, allocations: 25.77 kB / 446.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2494, allocations: 0 / 446.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2494, allocations: 0 / 446.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.033e-05/0.2495, allocations: 31.78 kB / 446.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.2495, allocations: 11.94 kB / 446.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.2498, allocations: 19.98 kB / 446.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.2498, allocations: 15.95 kB / 446.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001697/0.2515, allocations: 401.6 kB / 446.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001139/0.2527, allocations: 453.2 kB / 447 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002859/0.2529, allocations: 63.95 kB / 447.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002867/0.2532, allocations: 193.2 kB / 447.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2532, allocations: 0 / 447.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.2545, allocations: 349.4 kB / 447.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of SimCode: time 0.001515/0.256, allocations: 1.007 MB / 448.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of Templates: time 0.01135/0.2674, allocations: 3.796 MB / 452.4 MB, free: 2.203 MB / 350.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: 4.342508281995833]