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.002109/0.002108, allocations: 102.2 kB / 17.16 MB, free: 6.324 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.002623/0.002622, allocations: 198.9 kB / 18.08 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.367/2.367, allocations: 222.9 MB / 241.8 MB, free: 15.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001715, allocations: 43.47 kB / 300.6 MB, free: 6.312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1583, allocations: 49.45 MB / 350.1 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.007624/0.166, allocations: 3.11 MB / 353.2 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1686, allocations: 0.7754 MB / 354 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.169, allocations: 4 kB / 354 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.1694, allocations: 39.69 kB / 354 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.1698, allocations: 95.28 kB / 354.1 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.1704, allocations: 115.8 kB / 354.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006695/0.171, allocations: 426.2 kB / 354.6 MB, free: 284 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004151/0.1715, allocations: 119.6 kB / 354.7 MB, free: 160 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.1719, allocations: 159.3 kB / 354.9 MB, free: 0 / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.1722, allocations: 171.2 kB / 355.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.708e-05/0.1723, allocations: 24 kB / 355.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.886e-05/0.1724, allocations: 24 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.1725, allocations: 71.62 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.1728, allocations: 171.1 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.1734, allocations: 395.2 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1734, allocations: 0 / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.518e-06/0.1734, allocations: 4 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1734, allocations: 7.875 kB / 355.7 MB, free: 15.15 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.002016/0.1754, allocations: 0.7071 MB / 356.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.1755, allocations: 8.031 kB / 356.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1757, allocations: 36.56 kB / 356.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.1762, allocations: 310.6 kB / 356.8 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.1763, allocations: 20.94 kB / 356.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.092e-05/0.1764, allocations: 24.38 kB / 356.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.1776, allocations: 359.5 kB / 357.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1776, allocations: 0 / 357.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.1777, allocations: 12 kB / 357.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1777, allocations: 4 kB / 357.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.179, allocations: 306 kB / 357.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.1824, allocations: 1.286 MB / 358.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009625/0.1834, allocations: 226.4 kB / 359 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.1839, allocations: 112.8 kB / 359.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.184, allocations: 4 kB / 359.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007769/0.1848, allocations: 197.7 kB / 359.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 3.387e-06/0.1848, allocations: 0 / 359.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.003382/0.1882, allocations: 0.6823 MB / 360 MB, free: 10.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.1883, allocations: 110.8 kB / 360.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/0.1889, allocations: 287 kB / 360.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.1889, allocations: 33.69 kB / 360.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.1892, allocations: 207.5 kB / 360.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.63e-05/0.1893, allocations: 55.28 kB / 360.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.1895, allocations: 49.7 kB / 360.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.1898, allocations: 350.7 kB / 361.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.1903, allocations: 107.9 kB / 361.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.1909, allocations: 211.9 kB / 361.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.192, allocations: 323.8 kB / 361.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.192, allocations: 0 / 361.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001964/0.194, allocations: 494.6 kB / 362.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.1941, allocations: 37.64 kB / 362.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.1941, allocations: 4.062 kB / 362.2 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005279/0.1946, allocations: 84.8 kB / 362.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.195, allocations: 59.89 kB / 362.4 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00406/0.1991, allocations: 1.795 MB / 364.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.1998, allocations: 63.66 kB / 364.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.1998, allocations: 8 kB / 364.2 MB, free: 6.102 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.0003199/0.2002, allocations: 149.8 kB / 364.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2003, allocations: 27.7 kB / 364.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.788e-05/0.2004, allocations: 21.88 kB / 364.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.2004, allocations: 8.125 kB / 364.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2004, allocations: 7.938 kB / 364.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2004, allocations: 7.922 kB / 364.4 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.201, allocations: 341.4 kB / 364.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2011, allocations: 0 / 364.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.2014, allocations: 39.89 kB / 364.8 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/0.2019, allocations: 76.81 kB / 364.9 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.2019, allocations: 7.984 kB / 364.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003291/0.2052, allocations: 1.686 MB / 366.6 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2053, allocations: 0 / 366.6 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.2073, allocations: 0.4889 MB / 367.1 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.2075, allocations: 100.8 kB / 367.2 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.319e-05/0.2076, allocations: 12 kB / 367.2 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.208, allocations: 35.95 kB / 367.2 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.2082, allocations: 24.03 kB / 367.2 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.2082, allocations: 4 kB / 367.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004066/0.2086, allocations: 206 kB / 367.5 MB, free: 2.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.2086, allocations: 0 / 367.5 MB, free: 2.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007735/0.2094, allocations: 91.75 kB / 367.5 MB, free: 2.555 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.0002259/0.2096, allocations: 103.7 kB / 367.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.2113, allocations: 450.2 kB / 368.1 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2113, allocations: 3.938 kB / 368.1 MB, free: 1.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007195/0.212, allocations: 242.7 kB / 368.3 MB, free: 1.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/0.2127, allocations: 56.73 kB / 368.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.2149, allocations: 0.7203 MB / 369.1 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.2156, allocations: 0.768 MB / 369.9 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.2157, allocations: 19.44 kB / 369.9 MB, free: 108 kB / 302.1 MB Notification: Performance of SimCode: time 2.385e-06/0.2157, allocations: 0 / 369.9 MB, free: 108 kB / 302.1 MB Notification: Performance of Templates: time 0.2947/0.5104, allocations: 5.162 MB / 375 MB, free: 24.78 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 -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