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.0008655/0.0008655, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.0008981/0.0008981, allocations: 144.4 kB / 25.59 MB, free: 8.914 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 0.9713/0.9713, allocations: 173.4 MB / 202.3 MB, free: 8.285 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.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.032e-06/1.032e-06, allocations: 0 / 269.2 MB, free: 9.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.948e-05, allocations: 2.312 kB / 269.2 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003131/0.003151, allocations: 3.305 MB / 272.5 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.004313, allocations: 0.7956 MB / 273.3 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.004471, allocations: 11.94 kB / 273.4 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.004621, allocations: 64.48 kB / 273.4 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.0048, allocations: 135.5 kB / 273.6 MB, free: 5.418 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.005063, allocations: 145.8 kB / 273.7 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.005463, allocations: 0.5017 MB / 274.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.005665, allocations: 121.3 kB / 274.3 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.005996, allocations: 291.4 kB / 274.6 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.006179, allocations: 149.4 kB / 274.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.862e-05/0.006228, allocations: 48 kB / 274.8 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.233e-05/0.00627, allocations: 51.94 kB / 274.8 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.006329, allocations: 103.6 kB / 274.9 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.006429, allocations: 156.3 kB / 275.1 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.006705, allocations: 314.9 kB / 275.4 MB, free: 3.562 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006707, allocations: 0.75 kB / 275.4 MB, free: 3.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006707, allocations: 0 / 275.4 MB, free: 3.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.006712, allocations: 0.6875 kB / 275.4 MB, free: 3.562 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.0009309/0.007643, allocations: 0.7349 MB / 276.1 MB, free: 2.793 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.007672, allocations: 8.031 kB / 276.1 MB, free: 2.785 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.007751, allocations: 76.66 kB / 276.2 MB, free: 2.711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.008013, allocations: 264.8 kB / 276.5 MB, free: 2.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.008035, allocations: 21.38 kB / 276.5 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.008067, allocations: 40.38 kB / 276.5 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.008411, allocations: 387.9 kB / 276.9 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.008422, allocations: 3.938 kB / 276.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.008445, allocations: 12 kB / 276.9 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.008453, allocations: 8 kB / 276.9 MB, free: 1.914 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.008584, allocations: 114.8 kB / 277.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.009781, allocations: 1.298 MB / 278.4 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.01001, allocations: 143.2 kB / 278.5 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.01005, allocations: 31.67 kB / 278.5 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.01006, allocations: 4 kB / 278.5 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.01009, allocations: 45.39 kB / 278.6 MB, free: 176 kB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.01009, allocations: 4 kB / 278.6 MB, free: 172 kB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007222/0.01081, allocations: 368.7 kB / 278.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.01083, allocations: 55.41 kB / 279 MB, free: 15.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.011, allocations: 308.1 kB / 279.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.01102, allocations: 29.7 kB / 279.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.01113, allocations: 278.8 kB / 279.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.01115, allocations: 59.47 kB / 279.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.01121, allocations: 63.33 kB / 279.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.01132, allocations: 0.5078 MB / 280.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.01136, allocations: 23.98 kB / 280.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.494e-05/0.01144, allocations: 137 kB / 280.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.01157, allocations: 180.3 kB / 280.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01158, allocations: 0 / 280.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003244/0.0119, allocations: 275.8 kB / 280.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01191, allocations: 4 kB / 280.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01192, allocations: 4 kB / 280.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/0.01222, allocations: 111.3 kB / 280.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.0123, allocations: 39.92 kB / 281 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.01438, allocations: 3.946 MB / 284.9 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.01449, allocations: 31.78 kB / 285 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.0145, allocations: 8 kB / 285 MB, free: 9.375 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 9.738e-05/0.0146, allocations: 176.5 kB / 285.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.01464, allocations: 27.86 kB / 285.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.01466, allocations: 26.11 kB / 285.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01466, allocations: 4 kB / 285.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.01467, allocations: 0 / 285.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01467, allocations: 4.031 kB / 285.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.01508, allocations: 205 kB / 285.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01509, allocations: 0 / 285.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.01512, allocations: 16.06 kB / 285.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/0.01535, allocations: 127.2 kB / 285.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.01536, allocations: 4 kB / 285.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.01695, allocations: 3.879 MB / 289.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01695, allocations: 0 / 289.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.01751, allocations: 350.9 kB / 289.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.01753, allocations: 27.84 kB / 289.8 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.01755, allocations: 3.938 kB / 289.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.01765, allocations: 23.98 kB / 289.8 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.01768, allocations: 11.97 kB / 289.8 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.01769, allocations: 8 kB / 289.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.797e-05/0.01779, allocations: 205.1 kB / 290 MB, free: 3.996 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01779, allocations: 4 kB / 290 MB, free: 3.992 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.01813, allocations: 107.7 kB / 290.1 MB, free: 3.887 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 9.604e-05/0.01823, allocations: 95.25 kB / 290.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.01872, allocations: 0.5059 MB / 290.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01872, allocations: 0 / 290.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.01895, allocations: 407.2 kB / 291.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.0192, allocations: 52.89 kB / 291.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007776/0.01998, allocations: 0.5258 MB / 291.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.649e-05/0.02003, allocations: 92.3 kB / 291.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.953e-05/0.02009, allocations: 22.3 kB / 291.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.0202, allocations: 114.2 kB / 291.9 MB, free: 1.953 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0202, allocations: 0 / 291.9 MB, free: 1.953 MB / 266.7 MB Notification: Performance of Templates: time 0.005783/0.02598, allocations: 3.979 MB / 295.9 MB, free: 14.04 MB / 282.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 -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.7774177426472306]