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.001193/0.001193, allocations: 94.69 kB / 16.94 MB, free: 5.98 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.0016/0.001601, allocations: 179.6 kB / 17.82 MB, free: 5.652 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.879/1.879, 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.0004944/0.0004944, allocations: 19.94 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1215, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002946/0.1245, allocations: 2.284 MB / 330.6 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1257, allocations: 0.7337 MB / 331.4 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1258, allocations: 4 kB / 331.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.949e-05/0.1259, allocations: 35.75 kB / 331.4 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.1262, allocations: 115.6 kB / 331.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1264, allocations: 67.86 kB / 331.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.1268, allocations: 259.4 kB / 331.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.127, allocations: 69.06 kB / 331.9 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1272, allocations: 127.5 kB / 332 MB, free: 400 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1274, allocations: 143.4 kB / 332.2 MB, free: 256 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.1275, allocations: 16 kB / 332.2 MB, free: 240 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.1275, allocations: 20 kB / 332.2 MB, free: 220 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.1276, allocations: 55.75 kB / 332.2 MB, free: 164 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.1277, allocations: 73.58 kB / 332.3 MB, free: 84 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.128, allocations: 259.5 kB / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.128, allocations: 0 / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.128, allocations: 0 / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.128, allocations: 0 / 332.6 MB, free: 15.83 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.001226/0.1292, allocations: 0.6379 MB / 333.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1293, allocations: 8.031 kB / 333.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.46e-05/0.1294, allocations: 31.62 kB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.1297, allocations: 279.5 kB / 333.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1297, allocations: 16.56 kB / 333.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.1298, allocations: 24 kB / 333.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.1304, allocations: 276.8 kB / 333.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1305, allocations: 3.938 kB / 333.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.1305, allocations: 8 kB / 333.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.1305, allocations: 4 kB / 333.9 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/0.1313, allocations: 310 kB / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1329, allocations: 0.9406 MB / 335.1 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/0.1337, allocations: 278.5 kB / 335.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.1338, allocations: 0 / 335.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004726/0.1342, allocations: 189.9 kB / 335.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.1343, allocations: 0 / 335.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.002145/0.1364, allocations: 0.737 MB / 336.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.1365, allocations: 118.8 kB / 336.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.1367, allocations: 254.6 kB / 336.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.1368, allocations: 37.69 kB / 336.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1369, allocations: 183.8 kB / 336.9 MB, free: 11.26 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.137, allocations: 51.2 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/0.137, allocations: 8 kB / 336.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1371, allocations: 334.8 kB / 337.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.1374, allocations: 112.2 kB / 337.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.1378, allocations: 184.1 kB / 337.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.1382, allocations: 146.4 kB / 337.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1382, allocations: 0 / 337.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001136/0.1393, allocations: 482.1 kB / 338.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003034/0.1397, allocations: 0.6412 MB / 338.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1397, allocations: 7.938 kB / 338.8 MB, free: 9.211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000339/0.14, allocations: 76.8 kB / 338.9 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.1403, allocations: 47.97 kB / 338.9 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.1425, allocations: 1.783 MB / 340.7 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.1429, allocations: 55.91 kB / 340.8 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.1429, allocations: 8 kB / 340.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.1429, allocations: 4 kB / 340.8 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007882/0.1437, allocations: 334.5 kB / 341.1 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1437, allocations: 4 kB / 341.1 MB, free: 6.758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.784e-05/0.1438, allocations: 40.94 kB / 341.1 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.1441, allocations: 59.89 kB / 341.2 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.1456, allocations: 1.55 MB / 342.8 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.1458, allocations: 43.84 kB / 342.8 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1459, allocations: 12.06 kB / 342.8 MB, free: 4.914 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.000269/0.1461, allocations: 221 kB / 343 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.1462, allocations: 19.72 kB / 343 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.1e-05/0.1463, allocations: 34.12 kB / 343.1 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1463, allocations: 0 / 343.1 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1463, allocations: 0 / 343.1 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1463, allocations: 4 kB / 343.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.1466, allocations: 305.4 kB / 343.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1466, allocations: 0 / 343.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.1468, allocations: 35.97 kB / 343.4 MB, free: 4.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/0.1471, allocations: 76.78 kB / 343.5 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1471, allocations: 8 kB / 343.5 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.1489, allocations: 1.672 MB / 345.2 MB, free: 2.359 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1489, allocations: 0 / 345.2 MB, free: 2.359 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.1501, allocations: 0.4935 MB / 345.7 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.1502, allocations: 108.8 kB / 345.8 MB, free: 1.719 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.1502, allocations: 4 kB / 345.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.1505, allocations: 43.89 kB / 345.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.1506, allocations: 23.97 kB / 345.8 MB, free: 1.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1506, allocations: 4 kB / 345.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1508, allocations: 198 kB / 346 MB, free: 1.453 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1508, allocations: 0 / 346 MB, free: 1.453 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005413/0.1513, allocations: 135.6 kB / 346.2 MB, free: 1.32 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.0002015/0.1515, allocations: 107.2 kB / 346.3 MB, free: 1.203 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.1531, allocations: 0.7548 MB / 347 MB, free: 408 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.1531, allocations: 0 / 347 MB, free: 408 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.1536, allocations: 263.8 kB / 347.3 MB, free: 132 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.154, allocations: 48.41 kB / 347.3 MB, free: 84 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1552, allocations: 0.6318 MB / 348 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.1557, allocations: 0.7638 MB / 348.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.1558, allocations: 30.28 kB / 348.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.1559, allocations: 19.38 kB / 348.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1559, allocations: 0 / 348.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Templates: time 0.00816/0.1641, allocations: 3.968 MB / 352.7 MB, free: 10.62 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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