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.001149/0.001149, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00168/0.002829, allocations: 449.7 kB / 10.37 MB, free: 332 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.001114/0.001114, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002668, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9346/0.9346, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08721/1.022, allocations: 52.49 MB / 238.3 MB, free: 4.438 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 1.633e-06/1.633e-06, allocations: 0 / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.336e-05, allocations: 2.312 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.002948/0.002962, allocations: 3.386 MB / 243 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009267/0.003888, allocations: 0.8179 MB / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.004021, allocations: 11.94 kB / 243.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.004132, allocations: 75.28 kB / 243.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.004282, allocations: 122.9 kB / 244 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.004476, allocations: 139.8 kB / 244.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.004841, allocations: 0.5094 MB / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.005022, allocations: 137.9 kB / 244.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.005299, allocations: 324 kB / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.005454, allocations: 151.6 kB / 245.2 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.005507, allocations: 48 kB / 245.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.873e-05/0.005556, allocations: 52 kB / 245.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.005604, allocations: 75.75 kB / 245.4 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.005705, allocations: 127.8 kB / 245.5 MB, free: 13.17 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.005978, allocations: 295 kB / 245.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.005994, allocations: 0 / 245.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005994, allocations: 0 / 245.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.006013, allocations: 0 / 245.8 MB, free: 12.88 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.0007516/0.006764, allocations: 0.6791 MB / 246.5 MB, free: 12.17 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.006795, allocations: 8.031 kB / 246.5 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.006866, allocations: 56.89 kB / 246.6 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.007096, allocations: 218 kB / 246.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.007115, allocations: 25.38 kB / 246.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.007146, allocations: 36.38 kB / 246.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.007478, allocations: 390.2 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.007495, allocations: 3.938 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.007521, allocations: 16 kB / 247.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.007533, allocations: 11.94 kB / 247.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.007715, allocations: 90.97 kB / 247.3 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.008773, allocations: 1.042 MB / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.008986, allocations: 142.4 kB / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.009023, allocations: 32.84 kB / 248.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.009043, allocations: 0 / 248.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.009069, allocations: 38.56 kB / 248.6 MB, free: 9.938 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.00907, allocations: 3.938 kB / 248.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006599/0.00973, allocations: 331 kB / 248.9 MB, free: 9.598 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.009765, allocations: 63.34 kB / 249 MB, free: 9.523 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.009955, allocations: 249.2 kB / 249.2 MB, free: 9.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.009975, allocations: 29.7 kB / 249.2 MB, free: 9.234 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01008, allocations: 220.5 kB / 249.5 MB, free: 9.016 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.01012, allocations: 59.47 kB / 249.5 MB, free: 8.957 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/0.01018, allocations: 49.69 kB / 249.6 MB, free: 8.902 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01029, allocations: 342.7 kB / 249.9 MB, free: 8.559 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.01032, allocations: 19.98 kB / 249.9 MB, free: 8.539 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.034e-05/0.01041, allocations: 97.41 kB / 250 MB, free: 8.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.01056, allocations: 157.1 kB / 250.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01056, allocations: 0 / 250.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003323/0.01089, allocations: 221.9 kB / 250.4 MB, free: 7.996 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01091, allocations: 7.984 kB / 250.4 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01091, allocations: 7.938 kB / 250.4 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.01123, allocations: 117.9 kB / 250.5 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01135, allocations: 39.92 kB / 250.6 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.01306, allocations: 2.721 MB / 253.3 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.01318, allocations: 35.77 kB / 253.3 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.01319, allocations: 4 kB / 253.3 MB, free: 4.887 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 8.962e-05/0.01328, allocations: 129.8 kB / 253.4 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.01332, allocations: 23.92 kB / 253.5 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.01336, allocations: 26.11 kB / 253.5 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.01336, allocations: 4 kB / 253.5 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01336, allocations: 0 / 253.5 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01336, allocations: 4.109 kB / 253.5 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.01355, allocations: 173.6 kB / 253.7 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01355, allocations: 0 / 253.7 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.01359, allocations: 12 kB / 253.7 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.01362, allocations: 27.78 kB / 253.7 MB, free: 4.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/0.01386, allocations: 101.6 kB / 253.8 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.01387, allocations: 4 kB / 253.8 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.01532, allocations: 2.663 MB / 256.5 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01533, allocations: 0 / 256.5 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.01559, allocations: 260.9 kB / 256.7 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01561, allocations: 4 kB / 256.7 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.01573, allocations: 28 kB / 256.8 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.01577, allocations: 15.92 kB / 256.8 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.01578, allocations: 7.984 kB / 256.8 MB, free: 1.188 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.652e-05/0.01586, allocations: 86.77 kB / 256.9 MB, free: 1.102 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01586, allocations: 0 / 256.9 MB, free: 1.102 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.01622, allocations: 103.8 kB / 257 MB, free: 1 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 8.234e-05/0.01631, allocations: 84.42 kB / 257.1 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000433/0.01674, allocations: 384.8 kB / 257.4 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.01675, allocations: 4.625 kB / 257.4 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.01694, allocations: 302 kB / 257.7 MB, free: 184 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.0172, allocations: 56.48 kB / 257.8 MB, free: 128 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.02036, allocations: 0.5736 MB / 258.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.677e-05/0.02043, allocations: 92.3 kB / 258.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.02051, allocations: 26.28 kB / 258.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.02062, allocations: 83.36 kB / 258.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02062, allocations: 4 kB / 258.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Templates: time 0.006887/0.02751, allocations: 4.018 MB / 262.6 MB, free: 11.32 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6116214226931334]