Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00152/0.00152, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.451/1.451, allocations: 230.5 MB / 255.4 MB, free: 15.01 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.84 kB / 374.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 53.32 MB / 428.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004717/0.1123, allocations: 3.214 MB / 431.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1138, allocations: 0.8296 MB / 432.1 MB, free: 240 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.114, allocations: 4 kB / 432.1 MB, free: 236 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.1142, allocations: 55.44 kB / 432.2 MB, free: 180 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1144, allocations: 115 kB / 432.3 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2193/0.3337, allocations: 134.3 kB / 432.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008037/0.3346, allocations: 445 kB / 432.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.3348, allocations: 111.4 kB / 433 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.3352, allocations: 170.2 kB / 433.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.3354, allocations: 183.3 kB / 433.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.176e-05/0.3355, allocations: 42.81 kB / 433.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.3356, allocations: 48.81 kB / 433.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.3357, allocations: 87.39 kB / 433.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.3359, allocations: 202 kB / 433.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005869/0.3365, allocations: 0.5013 MB / 434.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3365, allocations: 0.9688 kB / 434.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3365, allocations: 0 / 434.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.3365, allocations: 0.5312 kB / 434.2 MB, free: 7.977 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.001048/0.3375, allocations: 0.675 MB / 434.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3376, allocations: 9.75 kB / 434.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.3378, allocations: 50.19 kB / 434.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.3382, allocations: 309.4 kB / 435.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.3382, allocations: 23.53 kB / 435.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.3383, allocations: 34.5 kB / 435.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.3389, allocations: 349.6 kB / 435.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.339, allocations: 5.531 kB / 435.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.339, allocations: 14.42 kB / 435.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.339, allocations: 6.938 kB / 435.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.3396, allocations: 269.9 kB / 435.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.3415, allocations: 1.265 MB / 437.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.3421, allocations: 286.1 kB / 437.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.3423, allocations: 90.97 kB / 437.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3423, allocations: 1.188 kB / 437.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3424, allocations: 36.89 kB / 437.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.3424, allocations: 4 kB / 437.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002146/0.3445, allocations: 0.6339 MB / 438.2 MB, free: 6.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.3445, allocations: 58.31 kB / 438.3 MB, free: 6.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.3449, allocations: 303.2 kB / 438.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3449, allocations: 27.86 kB / 438.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.345, allocations: 225.6 kB / 438.8 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.3451, allocations: 55.47 kB / 438.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/0.3451, allocations: 50.56 kB / 438.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.3452, allocations: 341.4 kB / 439.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.3454, allocations: 74.16 kB / 439.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.3457, allocations: 168.2 kB / 439.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.3461, allocations: 241.1 kB / 439.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.3461, allocations: 3.859 kB / 439.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009981/0.3471, allocations: 406.8 kB / 440.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3471, allocations: 11.72 kB / 440.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3471, allocations: 7.25 kB / 440.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005009/0.3476, allocations: 99.55 kB / 440.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3478, allocations: 43.86 kB / 440.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.351, allocations: 2.172 MB / 442.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.3513, allocations: 41.92 kB / 442.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.3513, allocations: 13.45 kB / 442.5 MB, free: 3.246 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.0001944/0.3515, allocations: 145.3 kB / 442.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.3515, allocations: 26.25 kB / 442.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.3516, allocations: 29.72 kB / 442.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3516, allocations: 4.969 kB / 442.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3516, allocations: 5.938 kB / 442.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3516, allocations: 4.688 kB / 442.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.3531, allocations: 0.7293 MB / 443.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3531, allocations: 2.016 kB / 443.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/0.3532, allocations: 12.75 kB / 443.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003674/0.3535, allocations: 100.2 kB / 443.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.3535, allocations: 10.55 kB / 443.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/0.3562, allocations: 2.155 MB / 445.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3562, allocations: 6.094 kB / 445.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008297/0.357, allocations: 407.5 kB / 446.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.3571, allocations: 109.5 kB / 446.3 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.3571, allocations: 5.281 kB / 446.3 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.3573, allocations: 23.95 kB / 446.3 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.3574, allocations: 14 kB / 446.3 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3574, allocations: 3.781 kB / 446.3 MB, free: 488 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.3576, allocations: 221.5 kB / 446.5 MB, free: 360 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3576, allocations: 0 / 446.5 MB, free: 360 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000533/0.3581, allocations: 83.45 kB / 446.6 MB, free: 348 kB / 350.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.0001339/0.3583, allocations: 102.7 kB / 446.7 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007326/0.359, allocations: 334.1 kB / 447 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.359, allocations: 1.938 kB / 447 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.3594, allocations: 225.4 kB / 447.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.3598, allocations: 41.05 kB / 447.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.3611, allocations: 0.5903 MB / 447.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.3617, allocations: 0.7688 MB / 448.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.3618, allocations: 20.58 kB / 448.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3618, allocations: 0 / 448.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of Templates: time 0.009062/0.3708, allocations: 4.766 MB / 453.4 MB, free: 14.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.435581685043871]