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.001464/0.001464, allocations: 97.33 kB / 16.5 MB, free: 6.641 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.001538/0.001538, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.411/1.411, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001489, allocations: 55.8 kB / 300 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1284, allocations: 49.44 MB / 349.4 MB, free: 4.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005022/0.1335, allocations: 3.111 MB / 352.5 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1355, allocations: 0.7676 MB / 353.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.1359, allocations: 8 kB / 353.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1363, allocations: 39.69 kB / 353.3 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.1368, allocations: 95.3 kB / 353.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.1373, allocations: 107.8 kB / 353.5 MB, free: 444 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00071/0.138, allocations: 426.3 kB / 354 MB, free: 16 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/0.1384, allocations: 123.6 kB / 354.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.1388, allocations: 159.3 kB / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.1391, allocations: 175.2 kB / 354.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.1393, allocations: 24 kB / 354.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1394, allocations: 24 kB / 354.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.289e-05/0.1395, allocations: 67.69 kB / 354.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.1398, allocations: 175.1 kB / 354.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.1403, allocations: 478.6 kB / 355.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1404, allocations: 0 / 355.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1404, allocations: 0 / 355.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.1404, allocations: 4 kB / 355.2 MB, free: 14.8 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.001887/0.1423, allocations: 0.7071 MB / 355.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1424, allocations: 8.031 kB / 355.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1425, allocations: 40.5 kB / 355.9 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.1431, allocations: 310.6 kB / 356.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.1431, allocations: 20.94 kB / 356.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.16e-05/0.1432, allocations: 24.38 kB / 356.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.1443, allocations: 355.6 kB / 356.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.1443, allocations: 0 / 356.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/0.1444, allocations: 15.94 kB / 356.6 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1444, allocations: 4 kB / 356.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.1455, allocations: 306 kB / 356.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.1485, allocations: 1.278 MB / 358.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009338/0.1495, allocations: 238.4 kB / 358.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.15, allocations: 112.8 kB / 358.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.15, allocations: 4 kB / 358.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007314/0.1508, allocations: 199.5 kB / 358.7 MB, free: 11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/0.1508, allocations: 0 / 358.7 MB, free: 11 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.003128/0.1539, allocations: 0.6856 MB / 359.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/0.154, allocations: 106.8 kB / 359.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.1546, allocations: 291 kB / 359.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.1547, allocations: 33.7 kB / 359.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.1549, allocations: 207.5 kB / 360.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/0.155, allocations: 55.28 kB / 360.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.1551, allocations: 49.7 kB / 360.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1554, allocations: 342.8 kB / 360.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.1559, allocations: 115.9 kB / 360.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.1565, allocations: 207.9 kB / 360.8 MB, free: 8.809 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.1575, allocations: 323.8 kB / 361.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.1575, allocations: 0 / 361.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001889/0.1594, allocations: 494.5 kB / 361.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.1595, allocations: 41.62 kB / 361.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.1596, allocations: 4 kB / 361.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004977/0.1601, allocations: 88.86 kB / 361.7 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.1604, allocations: 55.91 kB / 361.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.1635, allocations: 1.787 MB / 363.6 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.164, allocations: 67.64 kB / 363.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.164, allocations: 8 kB / 363.7 MB, free: 5.754 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.0001876/0.1642, allocations: 149.8 kB / 363.8 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.1643, allocations: 23.72 kB / 363.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.124e-05/0.1643, allocations: 25.86 kB / 363.9 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.1644, allocations: 8.031 kB / 363.9 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1644, allocations: 3.938 kB / 363.9 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1644, allocations: 7.938 kB / 363.9 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.1647, allocations: 345.4 kB / 364.2 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1648, allocations: 7.938 kB / 364.2 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.1651, allocations: 31.91 kB / 364.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003222/0.1654, allocations: 84.92 kB / 364.3 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.1654, allocations: 4 kB / 364.3 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.1677, allocations: 1.682 MB / 366 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.1678, allocations: 0 / 366 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.1692, allocations: 497.4 kB / 366.5 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1694, allocations: 104.8 kB / 366.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.1694, allocations: 8 kB / 366.6 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.1697, allocations: 31.97 kB / 366.6 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/0.1698, allocations: 19.97 kB / 366.7 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.1698, allocations: 8.047 kB / 366.7 MB, free: 2.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003486/0.1702, allocations: 210 kB / 366.9 MB, free: 2.297 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1702, allocations: 0 / 366.9 MB, free: 2.297 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006351/0.1709, allocations: 91.75 kB / 367 MB, free: 2.207 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.000198/0.1711, allocations: 99.72 kB / 367.1 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.1726, allocations: 452.2 kB / 367.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1726, allocations: 0 / 367.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006812/0.1733, allocations: 247.2 kB / 367.7 MB, free: 1.383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.1739, allocations: 52.8 kB / 367.8 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1759, allocations: 0.6924 MB / 368.5 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1765/0.3525, allocations: 0.761 MB / 369.2 MB, free: 24.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002313/0.3527, allocations: 29.89 kB / 369.3 MB, free: 24.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.3528, allocations: 20.86 kB / 369.3 MB, free: 24.81 MB / 302.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3528, allocations: 0 / 369.3 MB, free: 24.81 MB / 302.1 MB Notification: Performance of Templates: time 0.009536/0.3624, allocations: 4.088 MB / 373.4 MB, free: 24.71 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/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