Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001288/0.001288, allocations: 107 kB / 19.8 MB, free: 2.5 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.001444/0.001444, allocations: 217.6 kB / 23 MB, free: 5.57 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.89 kB / 376.5 MB, free: 3.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3112, allocations: 53.32 MB / 429.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00541/0.3166, allocations: 3.237 MB / 433.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3184, allocations: 0.818 MB / 433.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.3186, allocations: 8 kB / 433.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.3188, allocations: 59.42 kB / 434 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.319, allocations: 119 kB / 434.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.3194, allocations: 123.8 kB / 434.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000536/0.3199, allocations: 458.1 kB / 434.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.3202, allocations: 111.9 kB / 434.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.3205, allocations: 171.4 kB / 434.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.3207, allocations: 183.2 kB / 435.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-05/0.3208, allocations: 44 kB / 435.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.3209, allocations: 44 kB / 435.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.321, allocations: 91.62 kB / 435.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.3212, allocations: 191.1 kB / 435.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006396/0.3218, allocations: 0.5071 MB / 436 MB, free: 1.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3218, allocations: 0 / 436 MB, free: 1.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3218, allocations: 4 kB / 436 MB, free: 1.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.3218, allocations: 4 kB / 436 MB, free: 1.352 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.001219/0.323, allocations: 0.67 MB / 436.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3231, allocations: 11.97 kB / 436.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.3233, allocations: 52.69 kB / 436.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.3238, allocations: 315.6 kB / 437 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.3239, allocations: 25.03 kB / 437 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.3239, allocations: 36.3 kB / 437.1 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000725/0.3246, allocations: 357.3 kB / 437.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3247, allocations: 0 / 437.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.3247, allocations: 16 kB / 437.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3247, allocations: 8 kB / 437.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006301/0.3253, allocations: 270.5 kB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.3275, allocations: 1.257 MB / 439 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.3281, allocations: 295.1 kB / 439.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.3284, allocations: 88.83 kB / 439.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.3284, allocations: 0 / 439.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.3285, allocations: 38.55 kB / 439.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.3285, allocations: 0 / 439.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002138/0.3306, allocations: 0.6384 MB / 440 MB, free: 13.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.3307, allocations: 51.41 kB / 440.1 MB, free: 13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.331, allocations: 307 kB / 440.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.331, allocations: 25.7 kB / 440.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.3312, allocations: 224.2 kB / 440.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.3313, allocations: 55.53 kB / 440.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.3314, allocations: 53.59 kB / 440.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3315, allocations: 334.8 kB / 441 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.3317, allocations: 75.95 kB / 441.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.332, allocations: 166.2 kB / 441.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/0.3325, allocations: 242.1 kB / 441.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3325, allocations: 4 kB / 441.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009758/0.3335, allocations: 404.9 kB / 441.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3335, allocations: 11.94 kB / 441.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3335, allocations: 4 kB / 441.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000429/0.3339, allocations: 104.8 kB / 442 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.3341, allocations: 39.92 kB / 442.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/0.3373, allocations: 2.182 MB / 444.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.3375, allocations: 35.78 kB / 444.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.3376, allocations: 15.98 kB / 444.3 MB, free: 8.508 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.0001737/0.3377, allocations: 145.8 kB / 444.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.3378, allocations: 27.92 kB / 444.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.3378, allocations: 29.91 kB / 444.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3378, allocations: 3.938 kB / 444.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3378, allocations: 0 / 444.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3379, allocations: 0 / 444.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.3392, allocations: 0.7218 MB / 445.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3392, allocations: 0 / 445.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.3392, allocations: 23.92 kB / 445.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003297/0.3396, allocations: 96.78 kB / 445.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3396, allocations: 7.938 kB / 445.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.3425, allocations: 2.159 MB / 447.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3425, allocations: 3.938 kB / 447.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008588/0.3433, allocations: 403.2 kB / 447.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.3434, allocations: 112.8 kB / 448 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3435, allocations: 8 kB / 448 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3437, allocations: 19.98 kB / 448 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.3437, allocations: 19.91 kB / 448.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3437, allocations: 7.938 kB / 448.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.344, allocations: 214 kB / 448.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.344, allocations: 4 kB / 448.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.3444, allocations: 83.89 kB / 448.4 MB, free: 4.191 MB / 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.0001615/0.3446, allocations: 99.25 kB / 448.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000732/0.3453, allocations: 334.5 kB / 448.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3453, allocations: 0 / 448.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.3457, allocations: 235 kB / 449 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.3461, allocations: 47.75 kB / 449.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.3473, allocations: 0.5703 MB / 449.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.3477, allocations: 0.7675 MB / 450.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.52e-05/0.3478, allocations: 30.27 kB / 450.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.3478, allocations: 23.44 kB / 450.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3478, allocations: 0 / 450.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of Templates: time 0.008306/0.3561, allocations: 3.79 MB / 454.2 MB, free: 14.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.637821337208152]