Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002142/0.002141, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 78.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.864e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09533, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4322/0.5275, allocations: 79.31 MB / 448.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.5279, allocations: 78.02 kB / 448.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03114/0.5591, allocations: 6.058 MB / 454.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5592, allocations: 0 / 454.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.895e-05/0.5592, allocations: 11.98 kB / 454.6 MB, free: 8.648 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001542/0.5608, allocations: 0.5874 MB / 455.1 MB, free: 8.031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.5608, allocations: 8.031 kB / 455.2 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.561, allocations: 39.61 kB / 455.2 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.5615, allocations: 274.2 kB / 455.5 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.5616, allocations: 18.44 kB / 455.5 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/0.5617, allocations: 22.81 kB / 455.5 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.5623, allocations: 217.7 kB / 455.7 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5623, allocations: 4 kB / 455.7 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.5624, allocations: 9.5 kB / 455.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.5624, allocations: 4 kB / 455.7 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.563, allocations: 175.9 kB / 455.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.5658, allocations: 0.9797 MB / 456.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.5664, allocations: 155.8 kB / 457 MB, free: 6.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.5667, allocations: 76.75 kB / 457.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.5667, allocations: 0 / 457.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/0.5671, allocations: 147.5 kB / 457.3 MB, free: 6.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.5671, allocations: 0 / 457.3 MB, free: 6.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009439/0.5681, allocations: 234.7 kB / 457.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.5682, allocations: 106.8 kB / 457.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.5686, allocations: 238.7 kB / 457.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.5687, allocations: 29.33 kB / 457.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.5689, allocations: 235.2 kB / 458.1 MB, free: 5.453 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.569, allocations: 66.53 kB / 458.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.569, allocations: 3.562 kB / 458.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.5693, allocations: 322.5 kB / 458.5 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.5695, allocations: 57.42 kB / 458.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.5698, allocations: 121.7 kB / 458.6 MB, free: 4.918 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.5701, allocations: 99.67 kB / 458.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.5701, allocations: 0 / 458.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001672/0.5718, allocations: 320.6 kB / 459 MB, free: 4.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005338/0.5724, allocations: 0.6439 MB / 459.7 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.5724, allocations: 4 kB / 459.7 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004833/0.5729, allocations: 43.91 kB / 459.7 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.5736, allocations: 58.45 kB / 459.8 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.5747, allocations: 0.5802 MB / 460.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009362/0.5757, allocations: 47.06 kB / 460.4 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.5758, allocations: 15.11 kB / 460.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5758, allocations: 8 kB / 460.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001169/0.577, allocations: 256 kB / 460.7 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5771, allocations: 0 / 460.7 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.5774, allocations: 35.22 kB / 460.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.5781, allocations: 55.72 kB / 460.8 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.5808, allocations: 1.536 MB / 462.3 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006498/0.5815, allocations: 42.91 kB / 462.4 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.5815, allocations: 8 kB / 462.4 MB, free: 1.266 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002135/0.5818, allocations: 122.4 kB / 462.5 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.5819, allocations: 19.72 kB / 462.5 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.582, allocations: 31.53 kB / 462.5 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.5821, allocations: 0 / 462.5 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.5821, allocations: 4 kB / 462.5 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5821, allocations: 0 / 462.5 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.5828, allocations: 320.3 kB / 462.9 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5828, allocations: 3.938 kB / 462.9 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.5832, allocations: 38.41 kB / 462.9 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.5835, allocations: 46.2 kB / 462.9 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.5836, allocations: 15.3 kB / 463 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.5857, allocations: 1.505 MB / 464.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5857, allocations: 0 / 464.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.5868, allocations: 341.5 kB / 464.8 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.5869, allocations: 100.9 kB / 464.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.587, allocations: 8 kB / 464.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.5875, allocations: 35.97 kB / 464.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.5876, allocations: 23.97 kB / 465 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.5877, allocations: 11.92 kB / 465 MB, free: 14.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003071/0.588, allocations: 191.1 kB / 465.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.588, allocations: 0 / 465.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007278/0.5887, allocations: 139.6 kB / 465.3 MB, free: 14.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002113/0.589, allocations: 111.2 kB / 465.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.5902, allocations: 499.3 kB / 465.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5902, allocations: 3.938 kB / 465.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004122/0.5906, allocations: 198.5 kB / 466.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.5911, allocations: 40.53 kB / 466.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.5922, allocations: 386.3 kB / 466.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.5927, allocations: 0.768 MB / 467.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.5929, allocations: 19.44 kB / 467.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5929, allocations: 0 / 467.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of Templates: time 0.01048/0.6034, allocations: 4.297 MB / 471.6 MB, free: 7.816 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches