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.0009569/0.0009569, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001176/0.001176, allocations: 147.6 kB / 24.9 MB, free: 8.727 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.015/1.015, allocations: 173.4 MB / 201.5 MB, free: 8.738 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.532e-06/1.532e-06, allocations: 0 / 268.6 MB, free: 5.922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.984e-05, allocations: 6.109 kB / 268.6 MB, free: 5.918 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003456/0.003476, allocations: 3.184 MB / 271.7 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.004981, allocations: 0.7632 MB / 272.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.00514, allocations: 11.94 kB / 272.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.00529, allocations: 59.42 kB / 272.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.005475, allocations: 115 kB / 272.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.005759, allocations: 139.7 kB / 272.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.006128, allocations: 458 kB / 273.3 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.006309, allocations: 111.1 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.00662, allocations: 255.4 kB / 273.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.006784, allocations: 143.6 kB / 273.8 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.006827, allocations: 44 kB / 273.8 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.643e-05/0.006863, allocations: 40 kB / 273.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.006921, allocations: 95.66 kB / 273.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.889e-05/0.00701, allocations: 131.7 kB / 274.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.007325, allocations: 286.9 kB / 274.4 MB, free: 92 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.007329, allocations: 4 kB / 274.4 MB, free: 88 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.00733, allocations: 0 / 274.4 MB, free: 88 kB / 250.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.007338, allocations: 0 / 274.4 MB, free: 88 kB / 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.0006676/0.008005, allocations: 0.5662 MB / 274.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.008039, allocations: 8.922 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.008106, allocations: 48.91 kB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.008331, allocations: 201.2 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.008347, allocations: 21.03 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.008376, allocations: 36.38 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.008685, allocations: 335.3 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.008696, allocations: 4.172 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.008716, allocations: 20.38 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.008724, allocations: 11.94 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.008829, allocations: 76.56 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009679/0.009796, allocations: 0.8859 MB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.009981, allocations: 114.1 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.01002, allocations: 48.78 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.01004, allocations: 4 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.01006, allocations: 30.56 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.01006, allocations: 3.938 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006341/0.0107, allocations: 310.1 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.01073, allocations: 63.33 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.01088, allocations: 240.9 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.0109, allocations: 29.7 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.01098, allocations: 208.1 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.01101, allocations: 59.52 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.01107, allocations: 45.69 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.01115, allocations: 338.8 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.197e-05/0.01119, allocations: 19.98 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.58e-05/0.01125, allocations: 102.2 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.01137, allocations: 153.1 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01137, allocations: 0 / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002685/0.01164, allocations: 225.9 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01165, allocations: 8 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01166, allocations: 0 / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.01192, allocations: 101 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.012, allocations: 47.91 kB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.01313, allocations: 1.555 MB / 280.2 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/0.01322, allocations: 27.84 kB / 280.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.01323, allocations: 8 kB / 280.3 MB, free: 9.805 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.253e-05/0.01331, allocations: 125.7 kB / 280.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.01335, allocations: 23.91 kB / 280.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.01337, allocations: 25.78 kB / 280.4 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01338, allocations: 0 / 280.4 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01338, allocations: 0 / 280.4 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.01338, allocations: 7.984 kB / 280.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.01379, allocations: 382.8 kB / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.01379, allocations: 3.938 kB / 280.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.01383, allocations: 19.98 kB / 280.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001992/0.01403, allocations: 88.78 kB / 280.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.01404, allocations: 8 kB / 280.9 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009794/0.01502, allocations: 1.544 MB / 282.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01502, allocations: 7.875 kB / 282.5 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.01524, allocations: 252.7 kB / 282.7 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.01527, allocations: 19.8 kB / 282.7 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.01528, allocations: 11.98 kB / 282.8 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.01536, allocations: 12 kB / 282.8 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.0154, allocations: 23.95 kB / 282.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.01541, allocations: 0 / 282.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.918e-05/0.01548, allocations: 90.7 kB / 282.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01548, allocations: 0 / 282.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.01576, allocations: 91.78 kB / 283 MB, free: 6.941 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 9.404e-05/0.01586, allocations: 76.42 kB / 283 MB, free: 6.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.01615, allocations: 250 kB / 283.3 MB, free: 6.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.01616, allocations: 4 kB / 283.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.01628, allocations: 187.3 kB / 283.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.01648, allocations: 32.48 kB / 283.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.01732, allocations: 0.5124 MB / 284 MB, free: 5.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.499e-05/0.01739, allocations: 92.3 kB / 284.1 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.578e-05/0.01745, allocations: 18.3 kB / 284.1 MB, free: 5.703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.01755, allocations: 83.36 kB / 284.2 MB, free: 5.621 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01755, allocations: 0 / 284.2 MB, free: 5.621 MB / 266.7 MB Notification: Performance of Templates: time 0.005273/0.02282, allocations: 3.435 MB / 287.6 MB, free: 2.227 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 -s gbode -gbm=radauIIA3 -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.711685210932046]