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.001366/0.001366, allocations: 98.02 kB / 16.95 MB, free: 6.453 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.001462/0.001463, allocations: 182.9 kB / 17.84 MB, free: 6.004 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.986/1.986, allocations: 205.4 MB / 224 MB, free: 13.16 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.000719/0.00072, allocations: 14.97 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1286, allocations: 47.58 MB / 328.4 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00365/0.1323, allocations: 2.396 MB / 330.8 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.134, allocations: 0.7141 MB / 331.5 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.1342, allocations: 4 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1345, allocations: 35.69 kB / 331.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.1347, allocations: 83.36 kB / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1351, allocations: 75.86 kB / 331.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004982/0.1356, allocations: 354.4 kB / 332 MB, free: 404 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.1359, allocations: 69.06 kB / 332.1 MB, free: 340 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.1362, allocations: 127.5 kB / 332.2 MB, free: 212 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.1364, allocations: 135.4 kB / 332.3 MB, free: 76 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.1365, allocations: 20 kB / 332.4 MB, free: 56 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.222e-05/0.1365, allocations: 16 kB / 332.4 MB, free: 40 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1367, allocations: 55.75 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.1368, allocations: 81.56 kB / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.1371, allocations: 259.5 kB / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.1371, allocations: 0 / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.818e-06/0.1372, allocations: 0 / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.1372, allocations: 0 / 332.8 MB, free: 15.64 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.00139/0.1386, allocations: 0.6379 MB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.1386, allocations: 12.03 kB / 333.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.1387, allocations: 31.62 kB / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.1392, allocations: 275.6 kB / 333.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.1392, allocations: 16.56 kB / 333.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.1393, allocations: 24 kB / 333.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/0.14, allocations: 276.8 kB / 334 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.14, allocations: 3.938 kB / 334 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.14, allocations: 15.94 kB / 334 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.14, allocations: 4 kB / 334 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.1408, allocations: 306 kB / 334.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.1427, allocations: 0.9328 MB / 335.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008075/0.1435, allocations: 282.5 kB / 335.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.1438, allocations: 120.8 kB / 335.7 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.1439, allocations: 0 / 335.7 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006557/0.1446, allocations: 193.9 kB / 335.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1446, allocations: 3.938 kB / 335.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.002217/0.1468, allocations: 0.737 MB / 336.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.1469, allocations: 110.7 kB / 336.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.1472, allocations: 266.6 kB / 337 MB, free: 11.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1473, allocations: 29.7 kB / 337 MB, free: 11.13 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1475, allocations: 187.8 kB / 337.2 MB, free: 10.94 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.1475, allocations: 55.2 kB / 337.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.1475, allocations: 0 / 337.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1477, allocations: 338.8 kB / 337.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.148, allocations: 112.2 kB / 337.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.1484, allocations: 180.1 kB / 337.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.1488, allocations: 146.4 kB / 338 MB, free: 10.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1488, allocations: 0 / 338 MB, free: 10.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001157/0.15, allocations: 486.1 kB / 338.5 MB, free: 9.598 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.1502, allocations: 159.8 kB / 338.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1502, allocations: 0 / 338.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004327/0.1506, allocations: 80.8 kB / 338.7 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.1509, allocations: 51.91 kB / 338.8 MB, free: 9.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.1534, allocations: 1.76 MB / 340.5 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.1538, allocations: 55.88 kB / 340.6 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1539, allocations: 4 kB / 340.6 MB, free: 7.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.1539, allocations: 4 kB / 340.6 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008297/0.1547, allocations: 338.6 kB / 340.9 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1548, allocations: 3.938 kB / 340.9 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.1549, allocations: 36.84 kB / 340.9 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1551, allocations: 59.95 kB / 341 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.1564, allocations: 1.538 MB / 342.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.1567, allocations: 43.81 kB / 342.6 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.1568, allocations: 12 kB / 342.6 MB, free: 5.145 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 ($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 (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.0002306/0.157, allocations: 217.1 kB / 342.8 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.157, allocations: 23.72 kB / 342.8 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.1571, allocations: 34.12 kB / 342.9 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1571, allocations: 0 / 342.9 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.1571, allocations: 0 / 342.9 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1571, allocations: 3.984 kB / 342.9 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.1575, allocations: 305.3 kB / 343.2 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1575, allocations: 4 kB / 343.2 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.1577, allocations: 39.97 kB / 343.2 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/0.1579, allocations: 64.81 kB / 343.3 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.158, allocations: 15.98 kB / 343.3 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.1598, allocations: 1.644 MB / 344.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1599, allocations: 3.938 kB / 344.9 MB, free: 2.609 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.1611, allocations: 0.4946 MB / 345.4 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1612, allocations: 104.8 kB / 345.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.1612, allocations: 4 kB / 345.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.1615, allocations: 40.03 kB / 345.6 MB, free: 1.93 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.1616, allocations: 27.89 kB / 345.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1616, allocations: 4 kB / 345.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.1618, allocations: 190 kB / 345.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1619, allocations: 0 / 345.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007005/0.1626, allocations: 143.6 kB / 345.9 MB, free: 1.574 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 (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.000192/0.1628, allocations: 107.2 kB / 346 MB, free: 1.457 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.1643, allocations: 0.7426 MB / 346.8 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.1643, allocations: 4.688 kB / 346.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.1648, allocations: 259.4 kB / 347 MB, free: 404 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.1652, allocations: 52.47 kB / 347.1 MB, free: 352 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.1666, allocations: 0.647 MB / 347.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.167, allocations: 0.7561 MB / 348.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.1672, allocations: 30.27 kB / 348.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.1673, allocations: 19.44 kB / 348.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1673, allocations: 0 / 348.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of Templates: time 0.009762/0.177, allocations: 3.99 MB / 352.5 MB, free: 10.85 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