Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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_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.001333/0.001333, allocations: 99.83 kB / 17.15 MB, free: 6.316 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.001263/0.001263, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001776, allocations: 47.94 kB / 280 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1496, allocations: 46.63 MB / 326.6 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005868/0.1556, allocations: 2.862 MB / 329.5 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1577, allocations: 0.7527 MB / 330.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.158, allocations: 7.938 kB / 330.2 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1583, allocations: 27.77 kB / 330.3 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1586, allocations: 91.31 kB / 330.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.159, allocations: 87.91 kB / 330.4 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.1595, allocations: 366.4 kB / 330.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.1598, allocations: 77.28 kB / 330.9 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.1601, allocations: 127.5 kB / 331 MB, free: 468 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.1604, allocations: 159.2 kB / 331.1 MB, free: 308 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.1604, allocations: 20 kB / 331.2 MB, free: 288 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.409e-05/0.1605, allocations: 24 kB / 331.2 MB, free: 264 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.622e-05/0.1606, allocations: 59.75 kB / 331.2 MB, free: 204 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.1608, allocations: 147.1 kB / 331.4 MB, free: 56 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.1613, allocations: 343.1 kB / 331.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.1613, allocations: 0 / 331.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1614, allocations: 0 / 331.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1614, allocations: 0 / 331.7 MB, free: 15.72 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001814/0.1632, allocations: 0.6653 MB / 332.4 MB, free: 15 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/0.1633, allocations: 8.031 kB / 332.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.1634, allocations: 32.56 kB / 332.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.1638, allocations: 292.5 kB / 332.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.1639, allocations: 20.94 kB / 332.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.1639, allocations: 20.38 kB / 332.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.1647, allocations: 269.1 kB / 333 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1647, allocations: 3.938 kB / 333 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.1647, allocations: 8 kB / 333 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1648, allocations: 11.94 kB / 333 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.1655, allocations: 270 kB / 333.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.1675, allocations: 0.9054 MB / 334.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008054/0.1684, allocations: 242.6 kB / 334.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.1687, allocations: 112.7 kB / 334.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.1687, allocations: 7.938 kB / 334.6 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000667/0.1694, allocations: 177.8 kB / 334.7 MB, free: 12.49 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.1694, allocations: 0 / 334.7 MB, free: 12.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.003025/0.1725, allocations: 0.6133 MB / 335.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.1727, allocations: 110.8 kB / 335.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/0.1733, allocations: 266.5 kB / 335.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.1734, allocations: 37.7 kB / 335.8 MB, free: 11.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1736, allocations: 175.8 kB / 335.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.1737, allocations: 59.27 kB / 336 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1738, allocations: 49.61 kB / 336 MB, free: 11.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.174, allocations: 334.8 kB / 336.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.1744, allocations: 101 kB / 336.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.1748, allocations: 172 kB / 336.6 MB, free: 10.49 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.1755, allocations: 259.6 kB / 336.9 MB, free: 10.21 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.1756, allocations: 0 / 336.9 MB, free: 10.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001374/0.1769, allocations: 427.6 kB / 337.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.655e-05/0.177, allocations: 33.7 kB / 337.3 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.177, allocations: 4 kB / 337.3 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.1777, allocations: 112.7 kB / 337.4 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.1779, allocations: 43.97 kB / 337.5 MB, free: 9.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.181, allocations: 1.694 MB / 339.2 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.1815, allocations: 39.91 kB / 339.2 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.1816, allocations: 16 kB / 339.2 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005399/0.1821, allocations: 192.4 kB / 339.4 MB, free: 7.496 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003571/0.1825, allocations: 152.1 kB / 339.6 MB, free: 7.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006137/0.1831, allocations: 247.5 kB / 339.8 MB, free: 7.051 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.607e-05/0.1831, allocations: 4 kB / 339.8 MB, free: 7.047 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0009658/0.1841, allocations: 355.4 kB / 340.2 MB, free: 6.684 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.1842, allocations: 33.89 kB / 340.2 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1842, allocations: 4 kB / 340.2 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.1844, allocations: 44.77 kB / 340.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.1846, allocations: 43.91 kB / 340.3 MB, free: 6.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.1867, allocations: 1.549 MB / 341.8 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.1871, allocations: 43.81 kB / 341.9 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.1871, allocations: 8.062 kB / 341.9 MB, free: 4.812 MB / 286.1 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 (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 (21): * Single equations (assignments): 19 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.1874, allocations: 196.2 kB / 342.1 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.1875, allocations: 23.72 kB / 342.1 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.994e-05/0.1876, allocations: 26.17 kB / 342.1 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.1876, allocations: 7.938 kB / 342.1 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1876, allocations: 192 / 342.1 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1876, allocations: 0 / 342.1 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.1881, allocations: 317.3 kB / 342.5 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1882, allocations: 0 / 342.5 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.1884, allocations: 39.91 kB / 342.5 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/0.1887, allocations: 60.81 kB / 342.5 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.1887, allocations: 4 kB / 342.6 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.1908, allocations: 1.593 MB / 344.1 MB, free: 2.367 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1908, allocations: 4.031 kB / 344.2 MB, free: 2.363 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.1921, allocations: 442 kB / 344.6 MB, free: 1.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.1923, allocations: 100.9 kB / 344.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.1924, allocations: 4.062 kB / 344.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.1926, allocations: 32.16 kB / 344.7 MB, free: 1.758 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.1928, allocations: 31.91 kB / 344.7 MB, free: 1.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1928, allocations: 0 / 344.7 MB, free: 1.727 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002913/0.1931, allocations: 198 kB / 344.9 MB, free: 1.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1931, allocations: 0 / 344.9 MB, free: 1.535 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009053/0.194, allocations: 135.6 kB / 345.1 MB, free: 1.402 MB / 286.1 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) * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002849/0.1943, allocations: 107.2 kB / 345.2 MB, free: 1.285 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.1963, allocations: 0.706 MB / 345.9 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.1963, allocations: 0 / 345.9 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.1968, allocations: 246.8 kB / 346.1 MB, free: 284 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.1973, allocations: 48.48 kB / 346.2 MB, free: 236 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.1989, allocations: 0.6186 MB / 346.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.1996, allocations: 0.7599 MB / 347.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.1998, allocations: 30.28 kB / 347.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.1999, allocations: 19.44 kB / 347.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1999, allocations: 0 / 347.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Templates: time 0.01262/0.2125, allocations: 4.172 MB / 351.8 MB, free: 10.58 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches