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.0008978/0.0008978, allocations: 68.08 kB / 21.69 MB, free: 2.859 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.0009234/0.0009234, allocations: 146.5 kB / 24.98 MB, free: 9.355 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 1.07/1.07, allocations: 173.4 MB / 201.5 MB, free: 9.34 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.744e-06/1.744e-06, allocations: 0 / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.712e-05, allocations: 2.312 kB / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004425/0.004452, allocations: 3.366 MB / 271.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.005991, allocations: 0.7869 MB / 272.3 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.006208, allocations: 15.94 kB / 272.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.006413, allocations: 59.42 kB / 272.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.006675, allocations: 134.8 kB / 272.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.007045, allocations: 143.7 kB / 272.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005582/0.007603, allocations: 0.5094 MB / 273.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.00787, allocations: 121.3 kB / 273.2 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.00831, allocations: 291.4 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.008562, allocations: 155.5 kB / 273.7 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.266e-05/0.008635, allocations: 48 kB / 273.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.008701, allocations: 48 kB / 273.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.803e-05/0.008779, allocations: 103.7 kB / 273.9 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.008939, allocations: 155.6 kB / 274 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.009354, allocations: 315 kB / 274.3 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.009358, allocations: 4 kB / 274.3 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.009359, allocations: 0 / 274.3 MB, free: 456 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.009366, allocations: 0 / 274.3 MB, free: 456 kB / 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.001297/0.01066, allocations: 0.7221 MB / 275.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.01071, allocations: 8.922 kB / 275.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.01083, allocations: 72.66 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.01122, allocations: 268.8 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.01125, allocations: 29.31 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.0113, allocations: 32.38 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.0119, allocations: 411.9 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.01192, allocations: 3.938 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.01196, allocations: 16 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.01197, allocations: 8 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.0123, allocations: 137.8 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.01423, allocations: 1.294 MB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.01461, allocations: 159.3 kB / 277.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.091e-05/0.0147, allocations: 39.67 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.01473, allocations: 4 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.01476, allocations: 37.39 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/0.01476, allocations: 0 / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001168/0.01593, allocations: 384.8 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.01597, allocations: 55.41 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.01627, allocations: 316.1 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.01629, allocations: 29.7 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.01645, allocations: 282.8 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.01649, allocations: 63.47 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.01657, allocations: 55.31 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.01673, allocations: 0.5078 MB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.01681, allocations: 31.98 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.01696, allocations: 140.5 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.01718, allocations: 180.4 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01719, allocations: 0 / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000567/0.01775, allocations: 292.6 kB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.01777, allocations: 7.984 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.01778, allocations: 7.938 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/0.01828, allocations: 123.3 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.01841, allocations: 35.98 kB / 280 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/0.02144, allocations: 3.995 MB / 284 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.0216, allocations: 31.78 kB / 284 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.02162, allocations: 12 kB / 284.1 MB, free: 6.07 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 0.0001436/0.02176, allocations: 176.4 kB / 284.2 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.02182, allocations: 31.89 kB / 284.3 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.02186, allocations: 30.11 kB / 284.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.02186, allocations: 0 / 284.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.02187, allocations: 128 / 284.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.02187, allocations: 0 / 284.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.02218, allocations: 260.3 kB / 284.5 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.02218, allocations: 0 / 284.5 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.02224, allocations: 16 kB / 284.6 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003499/0.02259, allocations: 111.3 kB / 284.7 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.0226, allocations: 4 kB / 284.7 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/0.02502, allocations: 3.948 MB / 288.6 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02502, allocations: 64 / 288.6 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.02576, allocations: 370.7 kB / 289 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.0258, allocations: 23.84 kB / 289 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.02582, allocations: 4 kB / 289 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.02599, allocations: 23.98 kB / 289 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.02604, allocations: 15.97 kB / 289 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.02606, allocations: 4 kB / 289.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001745/0.02623, allocations: 213.1 kB / 289.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02623, allocations: 4 kB / 289.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005825/0.02681, allocations: 99.78 kB / 289.4 MB, free: 444 kB / 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.0001535/0.02697, allocations: 99.25 kB / 289.5 MB, free: 336 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.02768, allocations: 0.5247 MB / 290 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.02768, allocations: 0 / 290 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.02798, allocations: 419.7 kB / 290.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.0284, allocations: 40.45 kB / 290.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.02968, allocations: 0.5405 MB / 291 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.159e-05/0.02976, allocations: 96.3 kB / 291.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.193e-05/0.02985, allocations: 22.33 kB / 291.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.02991, allocations: 24.48 kB / 291.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of SimCode: time 1.273e-06/0.02991, allocations: 0 / 291.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of Templates: time 0.007837/0.03775, allocations: 3.67 MB / 294.8 MB, free: 10.93 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.9301309681031853]