Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.0006864/0.0006864, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009891/0.001675, allocations: 449.9 kB / 10.44 MB, free: 248 kB / 10.45 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.0006759/0.0006759, allocations: 144.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006862/0.007538, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9683/0.9683, allocations: 173.4 MB / 185.9 MB, free: 8.914 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09137/1.06, allocations: 52.5 MB / 238.4 MB, free: 4.355 MB / 234.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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.72e-07/8.72e-07, allocations: 0 / 239.8 MB, free: 3.047 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.266e-05, allocations: 9.766 kB / 239.8 MB, free: 3.039 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003954/0.003967, allocations: 3.383 MB / 243.2 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.005665, allocations: 0.8179 MB / 244 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.005771, allocations: 11.94 kB / 244 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.975e-05/0.005861, allocations: 67.3 kB / 244 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.006002, allocations: 130.9 kB / 244.2 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.006147, allocations: 131.8 kB / 244.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.006439, allocations: 0.5133 MB / 244.8 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.006583, allocations: 133.8 kB / 244.9 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.006812, allocations: 324 kB / 245.3 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.006953, allocations: 151.6 kB / 245.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.007002, allocations: 48 kB / 245.5 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-05/0.007045, allocations: 48 kB / 245.5 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.00709, allocations: 75.75 kB / 245.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.007177, allocations: 131.8 kB / 245.7 MB, free: 13.06 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.007402, allocations: 295 kB / 246 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.007409, allocations: 0 / 246 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.00741, allocations: 4 kB / 246 MB, free: 12.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.007418, allocations: 0 / 246 MB, free: 12.77 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.000782/0.0082, allocations: 0.6713 MB / 246.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.083e-05/0.008221, allocations: 12.03 kB / 246.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.008274, allocations: 60.89 kB / 246.7 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.008452, allocations: 210 kB / 246.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.008468, allocations: 29.38 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.008497, allocations: 36.38 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.008765, allocations: 390.2 kB / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.008774, allocations: 3.938 kB / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.008792, allocations: 16 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.008798, allocations: 12 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.008903, allocations: 98.88 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008882/0.009791, allocations: 1.042 MB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.009972, allocations: 138.4 kB / 248.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.01001, allocations: 32.84 kB / 248.7 MB, free: 9.871 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.01002, allocations: 7.984 kB / 248.7 MB, free: 9.863 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.01004, allocations: 38.56 kB / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.01004, allocations: 3.938 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005581/0.0106, allocations: 331 kB / 249.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.01061, allocations: 51.41 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.01074, allocations: 249.2 kB / 249.4 MB, free: 9.156 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.01075, allocations: 25.7 kB / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.01082, allocations: 232.4 kB / 249.6 MB, free: 8.895 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.01085, allocations: 55.47 kB / 249.7 MB, free: 8.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.01089, allocations: 53.69 kB / 249.8 MB, free: 8.781 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.01096, allocations: 338.7 kB / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.01099, allocations: 23.98 kB / 250.1 MB, free: 8.418 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.01105, allocations: 97.41 kB / 250.2 MB, free: 8.289 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.01116, allocations: 153.2 kB / 250.4 MB, free: 8.105 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01116, allocations: 4 kB / 250.4 MB, free: 8.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002313/0.01139, allocations: 229.5 kB / 250.6 MB, free: 7.867 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.0114, allocations: 8 kB / 250.6 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.0114, allocations: 320 / 250.6 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.01164, allocations: 117.6 kB / 250.7 MB, free: 7.738 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.01172, allocations: 39.98 kB / 250.7 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.01325, allocations: 2.729 MB / 253.5 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.01332, allocations: 31.91 kB / 253.5 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.01333, allocations: 8 kB / 253.5 MB, free: 4.758 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (23): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/0.0134, allocations: 125.8 kB / 253.6 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.01343, allocations: 27.91 kB / 253.7 MB, free: 4.598 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/0.01345, allocations: 26.2 kB / 253.7 MB, free: 4.574 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01345, allocations: 7.984 kB / 253.7 MB, free: 4.566 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01345, allocations: 0 / 253.7 MB, free: 4.566 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.01346, allocations: 0 / 253.7 MB, free: 4.566 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.01359, allocations: 173.6 kB / 253.9 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01359, allocations: 0 / 253.9 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.01362, allocations: 19.98 kB / 253.9 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.01364, allocations: 19.8 kB / 253.9 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/0.01382, allocations: 105.6 kB / 254 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.01383, allocations: 0 / 254 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.01492, allocations: 2.663 MB / 256.7 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01492, allocations: 0 / 256.7 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.01513, allocations: 272.2 kB / 256.9 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.01514, allocations: 4.031 kB / 256.9 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.01522, allocations: 23.98 kB / 257 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.01525, allocations: 19.91 kB / 257 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.01526, allocations: 4 kB / 257 MB, free: 1.059 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.836e-05/0.01532, allocations: 86.77 kB / 257.1 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01532, allocations: 0 / 257.1 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.01555, allocations: 103.7 kB / 257.2 MB, free: 0.8711 MB / 250.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 (9): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 6.435e-05/0.01562, allocations: 88.42 kB / 257.3 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.01594, allocations: 378.6 kB / 257.6 MB, free: 388 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/0.01595, allocations: 12.08 kB / 257.6 MB, free: 376 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.01611, allocations: 309.9 kB / 257.9 MB, free: 36 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.01639, allocations: 360.6 kB / 258.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.01852, allocations: 0.5584 MB / 258.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.701e-05/0.01857, allocations: 92.31 kB / 258.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.618e-05/0.01862, allocations: 26.28 kB / 259 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.581e-05/0.01872, allocations: 91.34 kB / 259.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01872, allocations: 0 / 259.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Templates: time 0.005473/0.02419, allocations: 4.067 MB / 263.1 MB, free: 10.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4405657248571515]