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.0008533/0.0008534, allocations: 86.67 kB / 16.31 MB, free: 6.449 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.000903/0.000903, allocations: 183.4 kB / 17.21 MB, free: 6.316 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.544/1.544, allocations: 223.3 MB / 241.2 MB, free: 5.293 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.0002739, allocations: 7.875 kB / 300.8 MB, free: 5.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 50.42 MB / 351.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003807/0.1381, allocations: 2.635 MB / 353.9 MB, free: 8.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1394, allocations: 0.729 MB / 354.6 MB, free: 8.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1396, allocations: 7.938 kB / 354.6 MB, free: 8.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1398, allocations: 39.69 kB / 354.7 MB, free: 8.059 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.14, allocations: 87.3 kB / 354.7 MB, free: 7.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.1403, allocations: 83.89 kB / 354.8 MB, free: 7.891 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004877/0.1408, allocations: 410.1 kB / 355.2 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.1411, allocations: 106.3 kB / 355.3 MB, free: 7.379 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.1413, allocations: 139.4 kB / 355.5 MB, free: 7.242 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.1415, allocations: 159.3 kB / 355.6 MB, free: 7.086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/0.1415, allocations: 20 kB / 355.6 MB, free: 7.066 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.637e-05/0.1416, allocations: 23.94 kB / 355.7 MB, free: 7.043 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.1417, allocations: 59.75 kB / 355.7 MB, free: 6.984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.1418, allocations: 85.52 kB / 355.8 MB, free: 6.895 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.1421, allocations: 378.9 kB / 356.2 MB, free: 6.523 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1421, allocations: 0 / 356.2 MB, free: 6.523 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1421, allocations: 0 / 356.2 MB, free: 6.523 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.1421, allocations: 4 kB / 356.2 MB, free: 6.52 MB / 286.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.001215/0.1434, allocations: 0.668 MB / 356.8 MB, free: 5.797 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1434, allocations: 12.03 kB / 356.9 MB, free: 5.785 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.898e-05/0.1435, allocations: 31.62 kB / 356.9 MB, free: 5.754 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.1439, allocations: 301.5 kB / 357.2 MB, free: 5.422 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.1439, allocations: 24.56 kB / 357.2 MB, free: 5.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.144, allocations: 28 kB / 357.2 MB, free: 5.371 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.1448, allocations: 359.6 kB / 357.6 MB, free: 5.012 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1448, allocations: 0 / 357.6 MB, free: 5.012 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.1448, allocations: 19.94 kB / 357.6 MB, free: 4.992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.1448, allocations: 11.88 kB / 357.6 MB, free: 4.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.1456, allocations: 330.1 kB / 357.9 MB, free: 4.656 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.1479, allocations: 1.321 MB / 359.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.1486, allocations: 262.4 kB / 359.5 MB, free: 2.98 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.1489, allocations: 132.2 kB / 359.6 MB, free: 2.852 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.149, allocations: 0 / 359.6 MB, free: 2.852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.1495, allocations: 208.2 kB / 359.9 MB, free: 2.629 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.1495, allocations: 0 / 359.9 MB, free: 2.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002257/0.1517, allocations: 0.7605 MB / 360.6 MB, free: 1.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.1519, allocations: 102.8 kB / 360.7 MB, free: 1.715 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.1523, allocations: 294.9 kB / 361 MB, free: 1.418 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.1523, allocations: 33.7 kB / 361 MB, free: 1.379 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.1525, allocations: 211.5 kB / 361.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.1526, allocations: 51.3 kB / 361.3 MB, free: 1.117 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.1526, allocations: 4 kB / 361.3 MB, free: 1.113 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1527, allocations: 334.8 kB / 361.6 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.1531, allocations: 131.9 kB / 361.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.1535, allocations: 223.9 kB / 362 MB, free: 396 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.1539, allocations: 169.6 kB / 362.1 MB, free: 220 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1539, allocations: 0 / 362.1 MB, free: 220 kB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001233/0.1552, allocations: 0.5178 MB / 362.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.1552, allocations: 29.7 kB / 362.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1552, allocations: 4 kB / 362.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/0.1556, allocations: 92.86 kB / 362.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.1559, allocations: 59.89 kB / 362.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.1585, allocations: 1.843 MB / 364.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.1588, allocations: 63.77 kB / 364.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.1588, allocations: 16 kB / 364.8 MB, free: 13.43 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.159, allocations: 152 kB / 364.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.1591, allocations: 27.72 kB / 364.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.589e-05/0.1591, allocations: 29.86 kB / 365 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1592, allocations: 0 / 365 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1592, allocations: 0 / 365 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1592, allocations: 7.938 kB / 365 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.1595, allocations: 341.3 kB / 365.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1595, allocations: 0 / 365.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.1597, allocations: 39.97 kB / 365.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/0.16, allocations: 84.8 kB / 365.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.16, allocations: 7.938 kB / 365.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.1623, allocations: 1.714 MB / 367.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1623, allocations: 0 / 367.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.1637, allocations: 0.5404 MB / 367.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.1638, allocations: 112.6 kB / 367.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.1638, allocations: 8 kB / 367.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.164, allocations: 39.95 kB / 367.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.1641, allocations: 28.02 kB / 367.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1642, allocations: 8 kB / 367.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.1644, allocations: 206 kB / 368.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1644, allocations: 0 / 368.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.1648, allocations: 87.78 kB / 368.2 MB, free: 9.785 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.1649, allocations: 111.2 kB / 368.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009733/0.1659, allocations: 465.9 kB / 368.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1659, allocations: 0 / 368.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.1664, allocations: 261.2 kB / 369 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1668, allocations: 60.75 kB / 369 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1681, allocations: 0.7012 MB / 369.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1685, allocations: 0.7643 MB / 370.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.1686, allocations: 34.95 kB / 370.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.1687, allocations: 19.44 kB / 370.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1687, allocations: 0 / 370.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of Templates: time 0.008179/0.1769, allocations: 3.914 MB / 374.5 MB, free: 3.414 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