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.001348/0.001348, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001524/0.001524, allocations: 167.7 kB / 23.96 MB, free: 4.152 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.488/1.488, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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 1.423e-06/1.423e-06, allocations: 0 / 325.1 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.532e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004821/0.004847, allocations: 2.985 MB / 328.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.006608, allocations: 0.7903 MB / 328.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.006791, allocations: 5.656 kB / 328.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.007014, allocations: 60.19 kB / 328.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.007277, allocations: 119.8 kB / 329.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.00768, allocations: 134.6 kB / 329.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005752/0.008255, allocations: 465.2 kB / 329.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.008498, allocations: 104.1 kB / 329.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.00895, allocations: 265.7 kB / 330 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.009173, allocations: 134.8 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.857e-05/0.009242, allocations: 47.39 kB / 330.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.00935, allocations: 44.81 kB / 330.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.009458, allocations: 87.59 kB / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.009639, allocations: 137.6 kB / 330.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.01036, allocations: 0.5131 MB / 331 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01036, allocations: 0 / 331 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01036, allocations: 0 / 331 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.01037, allocations: 0 / 331 MB, free: 12.82 MB / 302.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.001174/0.01155, allocations: 0.6016 MB / 331.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.01159, allocations: 9.969 kB / 331.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.01179, allocations: 46.17 kB / 331.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.01229, allocations: 260.3 kB / 331.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.01234, allocations: 21.72 kB / 331.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.01241, allocations: 32.19 kB / 331.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009743/0.01339, allocations: 420.9 kB / 332.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.01341, allocations: 1.406 kB / 332.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.01346, allocations: 18.7 kB / 332.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.01348, allocations: 12.12 kB / 332.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.01419, allocations: 270.6 kB / 332.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.01633, allocations: 1.078 MB / 333.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006347/0.01697, allocations: 197 kB / 333.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.01721, allocations: 89.38 kB / 334 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.01723, allocations: 5.344 kB / 334 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.01727, allocations: 37.03 kB / 334 MB, free: 10.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.01727, allocations: 0 / 334 MB, free: 10.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002249/0.01952, allocations: 0.562 MB / 334.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.01957, allocations: 53.66 kB / 334.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.01988, allocations: 273 kB / 334.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.01991, allocations: 27.14 kB / 334.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.02009, allocations: 228.8 kB / 335.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.02015, allocations: 57.17 kB / 335.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.296e-05/0.02024, allocations: 47.17 kB / 335.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.02041, allocations: 331.9 kB / 335.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.02063, allocations: 82.98 kB / 335.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.02091, allocations: 164.3 kB / 335.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.02143, allocations: 241.1 kB / 336.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.02143, allocations: 1.969 kB / 336.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001065/0.0225, allocations: 406.2 kB / 336.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.02252, allocations: 6.5 kB / 336.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.02253, allocations: 6.688 kB / 336.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.02301, allocations: 103.8 kB / 336.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.02317, allocations: 42.02 kB / 336.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.02653, allocations: 2.026 MB / 338.7 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.02679, allocations: 32.34 kB / 338.7 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.02681, allocations: 20.91 kB / 338.7 MB, free: 6.965 MB / 302.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.0002164/0.02703, allocations: 149.8 kB / 338.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.0271, allocations: 28.44 kB / 338.9 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.925e-05/0.02716, allocations: 26.52 kB / 338.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.02716, allocations: 2.531 kB / 338.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.02716, allocations: 0 / 338.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.02717, allocations: 5.172 kB / 338.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.02855, allocations: 0.622 MB / 339.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02856, allocations: 0 / 339.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-05/0.02863, allocations: 15.98 kB / 339.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003511/0.02898, allocations: 96.73 kB / 339.6 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.029, allocations: 8 kB / 339.6 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.03201, allocations: 2.009 MB / 341.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.03201, allocations: 0 / 341.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009529/0.03296, allocations: 408.5 kB / 342.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.03303, allocations: 31.78 kB / 342.1 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.03306, allocations: 3.938 kB / 342.1 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.03327, allocations: 19.98 kB / 342.1 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.662e-05/0.03334, allocations: 15.97 kB / 342.1 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.03335, allocations: 0 / 342.1 MB, free: 3.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.03358, allocations: 193.2 kB / 342.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03358, allocations: 8 kB / 342.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005531/0.03413, allocations: 87.84 kB / 342.4 MB, free: 3.238 MB / 302.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.0001642/0.0343, allocations: 103.1 kB / 342.5 MB, free: 3.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008109/0.03511, allocations: 338.4 kB / 342.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.03511, allocations: 4 kB / 342.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.03551, allocations: 222.5 kB / 343.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.0359, allocations: 40.05 kB / 343.1 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.03726, allocations: 0.5262 MB / 343.6 MB, free: 1.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.03743, allocations: 164.8 kB / 343.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.03755, allocations: 30.48 kB / 343.8 MB, free: 1.738 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.03763, allocations: 20.5 kB / 343.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.03763, allocations: 3.938 kB / 343.8 MB, free: 1.715 MB / 302.1 MB Notification: Performance of Templates: time 0.008537/0.04617, allocations: 3.202 MB / 347 MB, free: 14.55 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/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.3785543739795685]