Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 82.28 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009289/0.0009289, allocations: 143.4 kB / 25.59 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.038/1.038, allocations: 173.4 MB / 202.2 MB, free: 8.27 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.366e-05, allocations: 2.312 kB / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002859/0.002872, allocations: 3.142 MB / 272.4 MB, free: 6.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.003901, allocations: 0.7469 MB / 273.1 MB, free: 5.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.004035, allocations: 4 kB / 273.1 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.004178, allocations: 63.42 kB / 273.2 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.004335, allocations: 119.8 kB / 273.3 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.004568, allocations: 125.3 kB / 273.4 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.004874, allocations: 458 kB / 273.9 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.005053, allocations: 112.5 kB / 274 MB, free: 5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.005284, allocations: 255.5 kB / 274.2 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.005425, allocations: 140.3 kB / 274.4 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.005468, allocations: 44 kB / 274.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.563e-05/0.005504, allocations: 44.78 kB / 274.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.005558, allocations: 87.67 kB / 274.5 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.005644, allocations: 136.3 kB / 274.7 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.005892, allocations: 291.7 kB / 275 MB, free: 4.023 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.005893, allocations: 0 / 275 MB, free: 4.023 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005894, allocations: 4 kB / 275 MB, free: 4.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005898, allocations: 2.031 kB / 275 MB, free: 4.02 MB / 250.7 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.0008585/0.006757, allocations: 0.6795 MB / 275.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.006785, allocations: 8.031 kB / 275.7 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.615e-05/0.006861, allocations: 72.66 kB / 275.7 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.007079, allocations: 259.5 kB / 276 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.007095, allocations: 21.03 kB / 276 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.007125, allocations: 32.38 kB / 276 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.007421, allocations: 337.1 kB / 276.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.00743, allocations: 192 / 276.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.00745, allocations: 12.38 kB / 276.4 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.007459, allocations: 11.94 kB / 276.4 MB, free: 2.508 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.007579, allocations: 100.4 kB / 276.5 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.008618, allocations: 1.124 MB / 277.6 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.00881, allocations: 131.2 kB / 277.7 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.008859, allocations: 39.67 kB / 277.8 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.008873, allocations: 7.938 kB / 277.8 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.008893, allocations: 37.38 kB / 277.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.008894, allocations: 0 / 277.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006841/0.009578, allocations: 352.7 kB / 278.2 MB, free: 0.625 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.009599, allocations: 55.41 kB / 278.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.009762, allocations: 300.1 kB / 278.5 MB, free: 260 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.009775, allocations: 25.7 kB / 278.5 MB, free: 228 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.009896, allocations: 271 kB / 278.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.009923, allocations: 59.52 kB / 278.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.009977, allocations: 55.3 kB / 278.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.01009, allocations: 0.504 MB / 279.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.541e-05/0.01012, allocations: 23.98 kB / 279.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.0102, allocations: 144.6 kB / 279.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.01033, allocations: 178.1 kB / 279.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01033, allocations: 0 / 279.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002975/0.01063, allocations: 266.6 kB / 280 MB, free: 14.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01064, allocations: 8 kB / 280 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.01065, allocations: 0 / 280 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.0109, allocations: 99.95 kB / 280.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8e-05/0.01098, allocations: 39.92 kB / 280.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.01267, allocations: 2.236 MB / 282.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.643e-05/0.01277, allocations: 23.84 kB / 282.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.01278, allocations: 16 kB / 282.4 MB, free: 12.07 MB / 266.7 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 8.503e-05/0.01286, allocations: 172.4 kB / 282.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.0129, allocations: 31.86 kB / 282.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.01292, allocations: 29.77 kB / 282.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.01292, allocations: 4.031 kB / 282.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01293, allocations: 0 / 282.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01293, allocations: 0 / 282.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.01336, allocations: 0.492 MB / 283.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01336, allocations: 4 kB / 283.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.01339, allocations: 11.98 kB / 283.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.01359, allocations: 99.59 kB / 283.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.0136, allocations: 4 kB / 283.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.01464, allocations: 2.225 MB / 285.5 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01464, allocations: 0 / 285.5 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.0149, allocations: 335.5 kB / 285.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.01492, allocations: 31.83 kB / 285.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.01493, allocations: 0 / 285.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.01502, allocations: 24.02 kB / 285.9 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.01505, allocations: 11.92 kB / 285.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.01506, allocations: 7.984 kB / 285.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.141e-05/0.01514, allocations: 197.1 kB / 286.1 MB, free: 8.219 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01514, allocations: 0 / 286.1 MB, free: 8.219 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000286/0.01543, allocations: 95.78 kB / 286.2 MB, free: 8.125 MB / 266.7 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 7.937e-05/0.01551, allocations: 95.25 kB / 286.3 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003112/0.01582, allocations: 321.2 kB / 286.6 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01582, allocations: 0 / 286.6 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.01597, allocations: 248.5 kB / 286.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.01621, allocations: 40.98 kB / 286.9 MB, free: 7.387 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007396/0.01695, allocations: 0.5063 MB / 287.4 MB, free: 6.852 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.25e-05/0.01701, allocations: 92.3 kB / 287.5 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.583e-05/0.01706, allocations: 18.3 kB / 287.5 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.01716, allocations: 110.2 kB / 287.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01716, allocations: 0 / 287.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of Templates: time 0.00519/0.02235, allocations: 3.541 MB / 291.1 MB, free: 3.129 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.708138187881559]