Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002739, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009085/0.001978, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9176/0.9176, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08063/0.9982, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.956e-05, allocations: 6.25 kB / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003147/0.003166, allocations: 3.399 MB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004504, allocations: 0.8723 MB / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.004648, allocations: 15.94 kB / 248.9 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.004759, allocations: 67.36 kB / 248.9 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.004918, allocations: 130.8 kB / 249 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.005113, allocations: 151.7 kB / 249.2 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.005452, allocations: 0.5056 MB / 249.7 MB, free: 9.113 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.005639, allocations: 126 kB / 249.8 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.00595, allocations: 339.8 kB / 250.2 MB, free: 8.652 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.006114, allocations: 151.6 kB / 250.3 MB, free: 8.504 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.006162, allocations: 52 kB / 250.4 MB, free: 8.453 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.006255, allocations: 52 kB / 250.4 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.006305, allocations: 75.75 kB / 250.5 MB, free: 8.328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.144e-05/0.006396, allocations: 127.8 kB / 250.6 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.006671, allocations: 299 kB / 250.9 MB, free: 7.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.006685, allocations: 0 / 250.9 MB, free: 7.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006686, allocations: 0 / 250.9 MB, free: 7.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.006701, allocations: 0 / 250.9 MB, free: 7.91 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.0007065/0.007408, allocations: 0.6908 MB / 251.6 MB, free: 7.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.007439, allocations: 8.031 kB / 251.6 MB, free: 7.184 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.007602, allocations: 150 kB / 251.7 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.007827, allocations: 214 kB / 252 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.007849, allocations: 25.38 kB / 252 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.007879, allocations: 32.38 kB / 252 MB, free: 6.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.008425, allocations: 398.2 kB / 252.4 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.008436, allocations: 3.938 kB / 252.4 MB, free: 6.297 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.008455, allocations: 16 kB / 252.4 MB, free: 6.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.008463, allocations: 8 kB / 252.4 MB, free: 6.273 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.008572, allocations: 98.89 kB / 252.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009819/0.009554, allocations: 1.03 MB / 253.6 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.00976, allocations: 142 kB / 253.7 MB, free: 4.941 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.009798, allocations: 36.84 kB / 253.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.009816, allocations: 0 / 253.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.009837, allocations: 42.5 kB / 253.8 MB, free: 4.852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.009838, allocations: 0 / 253.8 MB, free: 4.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005998/0.01044, allocations: 335.2 kB / 254.1 MB, free: 4.512 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.01046, allocations: 59.41 kB / 254.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.01059, allocations: 252.8 kB / 254.4 MB, free: 4.184 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.01061, allocations: 33.64 kB / 254.4 MB, free: 4.145 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.01069, allocations: 216.6 kB / 254.6 MB, free: 3.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.01071, allocations: 55.52 kB / 254.7 MB, free: 3.875 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.01076, allocations: 57.62 kB / 254.8 MB, free: 3.812 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.01084, allocations: 342.7 kB / 255.1 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.01087, allocations: 20 kB / 255.1 MB, free: 3.449 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.01093, allocations: 101.3 kB / 255.2 MB, free: 3.316 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.01103, allocations: 148 kB / 255.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01103, allocations: 0 / 255.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002439/0.01128, allocations: 230.9 kB / 255.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.01129, allocations: 8 kB / 255.6 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01129, allocations: 3.984 kB / 255.6 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.01156, allocations: 110 kB / 255.7 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.01164, allocations: 47.91 kB / 255.7 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.01303, allocations: 2.718 MB / 258.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.01311, allocations: 31.78 kB / 258.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.01312, allocations: 8 kB / 258.5 MB, free: 15.8 MB / 266.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 7.452e-05/0.01319, allocations: 125.8 kB / 258.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.01322, allocations: 23.91 kB / 258.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.01324, allocations: 30.11 kB / 258.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.01e-07/0.01324, allocations: 0 / 258.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.01325, allocations: 4 kB / 258.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01325, allocations: 0 / 258.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.01338, allocations: 169.7 kB / 258.8 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.01339, allocations: 7.938 kB / 258.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.01342, allocations: 15.98 kB / 258.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.01344, allocations: 31.69 kB / 258.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.01364, allocations: 105.7 kB / 259 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.01365, allocations: 3.984 kB / 259 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.01486, allocations: 2.656 MB / 261.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01486, allocations: 0 / 261.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.01507, allocations: 257 kB / 261.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.01508, allocations: 7.938 kB / 261.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/0.01516, allocations: 27.95 kB / 261.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.01519, allocations: 19.91 kB / 262 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.0152, allocations: 4 kB / 262 MB, free: 12.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.125e-05/0.01526, allocations: 90.75 kB / 262.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01526, allocations: 0 / 262.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002531/0.01552, allocations: 99.78 kB / 262.2 MB, free: 11.91 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 (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 0.0001128/0.01563, allocations: 88.42 kB / 262.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000356/0.01598, allocations: 388.5 kB / 262.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.01599, allocations: 4 kB / 262.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.01614, allocations: 313.4 kB / 262.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.01635, allocations: 60.66 kB / 263 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.01862, allocations: 0.5553 MB / 263.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.031e-05/0.01867, allocations: 96.23 kB / 263.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.01873, allocations: 22.3 kB / 263.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.01882, allocations: 95.28 kB / 263.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01882, allocations: 0 / 263.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of Templates: time 0.005802/0.02463, allocations: 4.023 MB / 267.8 MB, free: 6.219 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.505119754932821]