Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 113.2 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 191 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 53.23 kB / 302.1 MB, free: 5.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.1009, allocations: 49.44 MB / 351.5 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00439/0.1054, allocations: 3.065 MB / 354.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1066, allocations: 0.7715 MB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.1067, allocations: 4 kB / 355.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1069, allocations: 55.44 kB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.1071, allocations: 115.1 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.1075, allocations: 127.8 kB / 355.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004688/0.1079, allocations: 469.9 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.1082, allocations: 138.9 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.1084, allocations: 171.4 kB / 356.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1086, allocations: 187.2 kB / 356.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.1087, allocations: 48 kB / 356.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.79e-05/0.1088, allocations: 44 kB / 356.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.033e-05/0.1089, allocations: 91.69 kB / 356.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.1091, allocations: 191.1 kB / 357 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.1095, allocations: 498.4 kB / 357.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1095, allocations: 0 / 357.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1095, allocations: 0 / 357.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1095, allocations: 3.938 kB / 357.5 MB, free: 13.77 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001355/0.1109, allocations: 0.707 MB / 358.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1109, allocations: 15.89 kB / 358.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.111, allocations: 36.56 kB / 358.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.1115, allocations: 314.7 kB / 358.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.1115, allocations: 24.92 kB / 358.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.1116, allocations: 24.38 kB / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.1123, allocations: 351.5 kB / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1123, allocations: 4 kB / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.1123, allocations: 12 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1124, allocations: 4 kB / 358.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/0.1131, allocations: 302 kB / 359.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.1152, allocations: 1.282 MB / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.1159, allocations: 226.4 kB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.1162, allocations: 120.8 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.1162, allocations: 4 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004403/0.1167, allocations: 192.3 kB / 361 MB, free: 9.961 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.1167, allocations: 0 / 361 MB, free: 9.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002246/0.1189, allocations: 0.6823 MB / 361.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.119, allocations: 114.8 kB / 361.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.1193, allocations: 287 kB / 362.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1194, allocations: 29.7 kB / 362.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1195, allocations: 211.5 kB / 362.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.1196, allocations: 55.28 kB / 362.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.1196, allocations: 53.7 kB / 362.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1198, allocations: 342.7 kB / 362.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.1201, allocations: 111.9 kB / 362.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.1205, allocations: 209 kB / 363.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.1212, allocations: 326.6 kB / 363.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1212, allocations: 0 / 363.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001189/0.1224, allocations: 487.6 kB / 363.9 MB, free: 6.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.1225, allocations: 45.52 kB / 363.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.1225, allocations: 7.984 kB / 363.9 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.1228, allocations: 84.88 kB / 364 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.1231, allocations: 55.89 kB / 364.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.1256, allocations: 1.986 MB / 366.1 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.1259, allocations: 63.7 kB / 366.1 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.126, allocations: 8 kB / 366.1 MB, free: 4.512 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.1261, allocations: 162 kB / 366.3 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.1262, allocations: 23.72 kB / 366.3 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.1262, allocations: 25.86 kB / 366.3 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1262, allocations: 11.94 kB / 366.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1262, allocations: 0 / 366.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1263, allocations: 0 / 366.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.1265, allocations: 345.3 kB / 366.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1266, allocations: 4 kB / 366.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.1267, allocations: 27.97 kB / 366.7 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/0.127, allocations: 80.8 kB / 366.8 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.127, allocations: 4 kB / 366.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.1292, allocations: 1.812 MB / 368.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1292, allocations: 0 / 368.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.1306, allocations: 496.2 kB / 369.1 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.1306, allocations: 104.8 kB / 369.2 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.1307, allocations: 15.92 kB / 369.2 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.1309, allocations: 28.03 kB / 369.3 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.131, allocations: 31.91 kB / 369.3 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.131, allocations: 0 / 369.3 MB, free: 1.125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.1312, allocations: 210 kB / 369.5 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1312, allocations: 0 / 369.5 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003746/0.1316, allocations: 87.75 kB / 369.6 MB, free: 0.8359 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001461/0.1318, allocations: 111.2 kB / 369.7 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008991/0.1327, allocations: 449.8 kB / 370.1 MB, free: 260 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1327, allocations: 0 / 370.1 MB, free: 260 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.1331, allocations: 246.5 kB / 370.4 MB, free: 0 / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1453/0.2785, allocations: 49.62 kB / 370.4 MB, free: 25.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2797, allocations: 0.5759 MB / 371 MB, free: 25.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.28, allocations: 0.7654 MB / 371.8 MB, free: 24.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.2801, allocations: 36.22 kB / 371.8 MB, free: 24.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.2801, allocations: 20.81 kB / 371.8 MB, free: 24.88 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2802, allocations: 0 / 371.8 MB, free: 24.88 MB / 302.1 MB Notification: Performance of Templates: time 0.008631/0.2888, allocations: 4.421 MB / 376.2 MB, free: 24.72 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches