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.001429/0.001429, allocations: 84.69 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001493/0.001493, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.514/1.514, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 3.116e-06/3.116e-06, allocations: 0.6094 kB / 325.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.453e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005112/0.005146, allocations: 3.14 MB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.006881, allocations: 0.8311 MB / 329.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.007086, allocations: 10.31 kB / 329.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.007326, allocations: 70.53 kB / 329.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.007619, allocations: 131.8 kB / 329.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.008068, allocations: 151.8 kB / 329.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006587/0.008726, allocations: 0.519 MB / 330 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.009023, allocations: 117.4 kB / 330.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000502/0.009524, allocations: 295.2 kB / 330.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.009801, allocations: 147 kB / 330.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.009878, allocations: 49.09 kB / 330.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.01001, allocations: 55.89 kB / 330.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.01011, allocations: 96.78 kB / 330.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.01032, allocations: 151.5 kB / 330.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007644/0.01108, allocations: 0.5781 MB / 331.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01109, allocations: 3.938 kB / 331.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01109, allocations: 1.094 kB / 331.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.0111, allocations: 4 kB / 331.4 MB, free: 12.48 MB / 302.1 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.001266/0.01237, allocations: 0.6303 MB / 332.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.0124, allocations: 13.28 kB / 332.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.01261, allocations: 56.34 kB / 332.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.01305, allocations: 265.8 kB / 332.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.01308, allocations: 22.97 kB / 332.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.01314, allocations: 34.5 kB / 332.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.01394, allocations: 0.4889 MB / 332.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.01395, allocations: 3.938 kB / 332.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.01399, allocations: 15.84 kB / 333 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.014, allocations: 7.906 kB / 333 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.01467, allocations: 294.4 kB / 333.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.01697, allocations: 1.239 MB / 334.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.01766, allocations: 219.8 kB / 334.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.01789, allocations: 89.31 kB / 334.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.01792, allocations: 1.531 kB / 334.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.01795, allocations: 37.12 kB / 334.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.01795, allocations: 4 kB / 334.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.002282/0.02023, allocations: 0.5951 MB / 335.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.02027, allocations: 53.97 kB / 335.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.0206, allocations: 286.1 kB / 335.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.02063, allocations: 31.08 kB / 335.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.02081, allocations: 237.8 kB / 336 MB, free: 9.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.02085, allocations: 55.2 kB / 336.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.424e-05/0.02095, allocations: 54.62 kB / 336.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.02112, allocations: 337.2 kB / 336.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.02136, allocations: 88.86 kB / 336.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.02165, allocations: 161.8 kB / 336.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.02215, allocations: 248.5 kB / 336.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02215, allocations: 0 / 336.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001077/0.02323, allocations: 423.4 kB / 337.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.02324, allocations: 5.969 kB / 337.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.02325, allocations: 2.531 kB / 337.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.02375, allocations: 123.7 kB / 337.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.02391, allocations: 37.86 kB / 337.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004378/0.02829, allocations: 3.291 MB / 340.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.02854, allocations: 35.83 kB / 340.9 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.02856, allocations: 12 kB / 340.9 MB, free: 4.836 MB / 302.1 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 0.0001989/0.02876, allocations: 157.7 kB / 341 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.02882, allocations: 27.84 kB / 341 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.578e-05/0.02887, allocations: 30.19 kB / 341.1 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.02887, allocations: 0 / 341.1 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.02888, allocations: 4 kB / 341.1 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.02889, allocations: 3.984 kB / 341.1 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.02924, allocations: 253 kB / 341.3 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.02924, allocations: 4 kB / 341.3 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.949e-05/0.02932, allocations: 8.125 kB / 341.3 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/0.02971, allocations: 121.6 kB / 341.5 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.02972, allocations: 3.938 kB / 341.5 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00388/0.0336, allocations: 3.187 MB / 344.7 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.03361, allocations: 4 kB / 344.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.03467, allocations: 436 kB / 345.1 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.03473, allocations: 23.86 kB / 345.1 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.03476, allocations: 7.984 kB / 345.1 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.035, allocations: 23.98 kB / 345.1 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.03508, allocations: 23.91 kB / 345.2 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.0351, allocations: 4 kB / 345.2 MB, free: 272 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.03536, allocations: 197.2 kB / 345.4 MB, free: 76 kB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03536, allocations: 0 / 345.4 MB, free: 76 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006382/0.036, allocations: 103.8 kB / 345.5 MB, free: 15.97 MB / 318.1 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.0001636/0.03616, allocations: 106.4 kB / 345.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.03739, allocations: 0.5127 MB / 346.1 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.0374, allocations: 3.938 kB / 346.1 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.03788, allocations: 337.6 kB / 346.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.03829, allocations: 44.47 kB / 346.4 MB, free: 14.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.03946, allocations: 0.5499 MB / 347 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.03965, allocations: 172.8 kB / 347.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.189e-05/0.03974, allocations: 26.33 kB / 347.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.03979, allocations: 16.5 kB / 347.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.03979, allocations: 4 kB / 347.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of Templates: time 0.009507/0.04929, allocations: 3.59 MB / 350.8 MB, free: 10.57 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.454797048121691]