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.001853/0.001853, allocations: 112.4 kB / 17.28 MB, free: 6.199 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.002059/0.002059, allocations: 193.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.1 MB / 224 MB, free: 12.45 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.001206/0.001206, allocations: 51.92 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1317, allocations: 46.64 MB / 326.8 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005126/0.137, allocations: 2.862 MB / 329.7 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1387, allocations: 0.7488 MB / 330.4 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1389, allocations: 4 kB / 330.4 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.139, allocations: 31.77 kB / 330.4 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1393, allocations: 83.31 kB / 330.5 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.1396, allocations: 91.91 kB / 330.6 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.14, allocations: 382.4 kB / 331 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.1402, allocations: 100.7 kB / 331.1 MB, free: 472 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.1405, allocations: 151.4 kB / 331.2 MB, free: 320 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.1407, allocations: 163.3 kB / 331.4 MB, free: 156 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/0.1408, allocations: 32 kB / 331.4 MB, free: 124 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.92e-05/0.1408, allocations: 36 kB / 331.5 MB, free: 88 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.1409, allocations: 71.75 kB / 331.5 MB, free: 16 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.1411, allocations: 151.3 kB / 331.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.1414, allocations: 362.9 kB / 332 MB, free: 15.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1414, allocations: 0 / 332 MB, free: 15.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1415, allocations: 0 / 332 MB, free: 15.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.1415, allocations: 0 / 332 MB, free: 15.51 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.001306/0.1428, allocations: 0.6613 MB / 332.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1428, allocations: 8.031 kB / 332.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.289e-05/0.1429, allocations: 40.5 kB / 332.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1433, allocations: 280.6 kB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1433, allocations: 20.94 kB / 333 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.1434, allocations: 20.38 kB / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.144, allocations: 265.1 kB / 333.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.144, allocations: 3.984 kB / 333.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.1441, allocations: 12 kB / 333.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1441, allocations: 4 kB / 333.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.1448, allocations: 270 kB / 333.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.1464, allocations: 0.9093 MB / 334.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/0.1471, allocations: 242.5 kB / 334.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.1474, allocations: 112.7 kB / 334.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1474, allocations: 0 / 334.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005306/0.148, allocations: 177.8 kB / 335 MB, free: 12.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 3.426e-06/0.148, allocations: 7.938 kB / 335 MB, free: 12.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001972/0.15, allocations: 0.6121 MB / 335.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.1501, allocations: 106.8 kB / 335.7 MB, free: 11.53 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1504, allocations: 274.5 kB / 336 MB, free: 11.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.1504, allocations: 29.7 kB / 336 MB, free: 11.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.1506, allocations: 183.8 kB / 336.2 MB, free: 11.04 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/0.1506, allocations: 63.2 kB / 336.3 MB, free: 10.97 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.1507, allocations: 49.61 kB / 336.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1509, allocations: 330.8 kB / 336.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.1512, allocations: 109 kB / 336.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.1515, allocations: 164.1 kB / 336.9 MB, free: 10.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.1521, allocations: 263.5 kB / 337.2 MB, free: 10 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1522, allocations: 0 / 337.2 MB, free: 10 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001093/0.1533, allocations: 427.6 kB / 337.6 MB, free: 9.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.1533, allocations: 37.7 kB / 337.6 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1534, allocations: 0 / 337.6 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005208/0.1539, allocations: 112.8 kB / 337.7 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.1541, allocations: 39.97 kB / 337.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.1566, allocations: 1.888 MB / 339.7 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.1571, allocations: 55.81 kB / 339.7 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.1571, allocations: 7.984 kB / 339.7 MB, free: 7.281 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000406/0.1575, allocations: 188.3 kB / 339.9 MB, free: 7.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002982/0.1578, allocations: 148.1 kB / 340.1 MB, free: 6.922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005165/0.1584, allocations: 255.4 kB / 340.3 MB, free: 6.645 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.1584, allocations: 0 / 340.3 MB, free: 6.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007382/0.1591, allocations: 347.6 kB / 340.7 MB, free: 6.289 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.1592, allocations: 33.7 kB / 340.7 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1592, allocations: 0 / 340.7 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.1593, allocations: 44.83 kB / 340.7 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.1595, allocations: 48.09 kB / 340.8 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.161, allocations: 1.72 MB / 342.5 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.1614, allocations: 43.81 kB / 342.5 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1614, allocations: 4.188 kB / 342.5 MB, free: 4.25 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.0002676/0.1617, allocations: 204.2 kB / 342.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.1618, allocations: 23.72 kB / 342.8 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.235e-05/0.1618, allocations: 30.17 kB / 342.8 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1619, allocations: 11.88 kB / 342.8 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1619, allocations: 0 / 342.8 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1619, allocations: 0 / 342.8 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.1623, allocations: 313.2 kB / 343.1 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1623, allocations: 0 / 343.1 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.1625, allocations: 31.97 kB / 343.1 MB, free: 3.586 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000283/0.1628, allocations: 76.72 kB / 343.2 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.1628, allocations: 4 kB / 343.2 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.1649, allocations: 1.715 MB / 344.9 MB, free: 1.652 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1649, allocations: 0 / 344.9 MB, free: 1.652 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.1661, allocations: 442.2 kB / 345.4 MB, free: 1.199 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.75e-05/0.1662, allocations: 100.8 kB / 345.5 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.1663, allocations: 4 kB / 345.5 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.1665, allocations: 35.95 kB / 345.5 MB, free: 1.043 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/0.1666, allocations: 19.97 kB / 345.5 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1666, allocations: 4 kB / 345.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.1669, allocations: 194 kB / 345.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1669, allocations: 4 kB / 345.7 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006547/0.1675, allocations: 131.7 kB / 345.9 MB, free: 0.6992 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.0001651/0.1677, allocations: 111.1 kB / 346 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.1693, allocations: 0.7157 MB / 346.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.1693, allocations: 0.6875 kB / 346.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.1698, allocations: 242.5 kB / 346.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1703, allocations: 44.53 kB / 347 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1715, allocations: 0.6293 MB / 347.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1718, allocations: 0.76 MB / 348.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.172, allocations: 30.22 kB / 348.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.1721, allocations: 19.44 kB / 348.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1721, allocations: 0 / 348.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of Templates: time 0.009457/0.1815, allocations: 4.418 MB / 352.8 MB, free: 9.609 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