Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,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.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,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.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 94.36 kB / 16.94 MB, free: 5.977 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.001041/0.00104, allocations: 184.1 kB / 17.82 MB, free: 5.641 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.837/1.837, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004708/0.0004711, allocations: 15.44 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003617/0.1383, allocations: 2.276 MB / 330.6 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1397, allocations: 0.7415 MB / 331.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.1399, allocations: 4 kB / 331.4 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.824e-05/0.14, allocations: 35.75 kB / 331.4 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.1403, allocations: 111.6 kB / 331.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1406, allocations: 71.89 kB / 331.6 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.1409, allocations: 251.4 kB / 331.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.1412, allocations: 77.03 kB / 331.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1414, allocations: 127.5 kB / 332 MB, free: 396 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.1416, allocations: 135.4 kB / 332.2 MB, free: 260 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.1416, allocations: 20 kB / 332.2 MB, free: 240 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.451e-05/0.1417, allocations: 20 kB / 332.2 MB, free: 220 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.1417, allocations: 55.73 kB / 332.2 MB, free: 164 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.1418, allocations: 77.58 kB / 332.3 MB, free: 80 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.1421, allocations: 259.5 kB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1421, allocations: 0 / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1421, allocations: 0 / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1421, allocations: 0 / 332.6 MB, free: 15.82 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.001232/0.1434, allocations: 0.634 MB / 333.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1434, allocations: 8.031 kB / 333.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.1435, allocations: 31.62 kB / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.1438, allocations: 283.5 kB / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.1439, allocations: 16.56 kB / 333.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.1439, allocations: 20 kB / 333.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/0.1446, allocations: 280.8 kB / 333.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1446, allocations: 0 / 333.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.1446, allocations: 11.94 kB / 333.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1446, allocations: 8 kB / 333.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.1454, allocations: 302 kB / 334.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.147, allocations: 0.9259 MB / 335.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008533/0.1478, allocations: 387.7 kB / 335.5 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.1479, allocations: 0 / 335.5 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.1484, allocations: 193.9 kB / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.1484, allocations: 0 / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.00193/0.1503, allocations: 0.6933 MB / 336.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.1504, allocations: 110.8 kB / 336.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.1507, allocations: 262.5 kB / 336.7 MB, free: 11.42 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.1508, allocations: 33.7 kB / 336.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.1509, allocations: 180 kB / 336.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.151, allocations: 59.27 kB / 337 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.151, allocations: 11.94 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1511, allocations: 334.8 kB / 337.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.1515, allocations: 112.2 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.1518, allocations: 188.2 kB / 337.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.1522, allocations: 149.9 kB / 337.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1522, allocations: 0 / 337.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001055/0.1532, allocations: 480.5 kB / 338.2 MB, free: 9.832 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.1535, allocations: 0.6454 MB / 338.9 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1535, allocations: 0 / 338.9 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/0.1538, allocations: 60.77 kB / 338.9 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.1541, allocations: 71.89 kB / 339 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.1558, allocations: 1.523 MB / 340.5 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.1562, allocations: 59.77 kB / 340.6 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.1562, allocations: 12 kB / 340.6 MB, free: 7.273 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1562, allocations: 4 kB / 340.6 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007115/0.157, allocations: 323 kB / 340.9 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.157, allocations: 4 kB / 340.9 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.444e-05/0.157, allocations: 28.97 kB / 340.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1573, allocations: 67.89 kB / 341 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009974/0.1583, allocations: 1.381 MB / 342.4 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.1586, allocations: 51.66 kB / 342.4 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.1586, allocations: 12 kB / 342.4 MB, free: 5.262 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 (26): * Single equations (assignments): 24 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.1588, allocations: 217.2 kB / 342.7 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.1589, allocations: 31.67 kB / 342.7 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.1589, allocations: 30.17 kB / 342.7 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1589, allocations: 0 / 342.7 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1589, allocations: 0 / 342.7 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.159, allocations: 4 kB / 342.7 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.1602, allocations: 0.7496 MB / 343.5 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1602, allocations: 3.984 kB / 343.5 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.1605, allocations: 43.97 kB / 343.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.1606, allocations: 64.86 kB / 343.6 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.1607, allocations: 8 kB / 343.6 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.1622, allocations: 1.507 MB / 345.1 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1622, allocations: 0 / 345.1 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.1634, allocations: 0.5874 MB / 345.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.1635, allocations: 100.8 kB / 345.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.1636, allocations: 11.94 kB / 345.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.1638, allocations: 35.97 kB / 345.8 MB, free: 1.629 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.164, allocations: 32.02 kB / 345.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.164, allocations: 4 kB / 345.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.1642, allocations: 193.9 kB / 346.1 MB, free: 1.406 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1642, allocations: 0 / 346.1 MB, free: 1.406 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005739/0.1647, allocations: 135.6 kB / 346.2 MB, free: 1.273 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001488/0.1649, allocations: 103.2 kB / 346.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.1664, allocations: 0.7469 MB / 347 MB, free: 376 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1664, allocations: 0 / 347 MB, free: 376 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.1668, allocations: 250.9 kB / 347.3 MB, free: 112 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1672, allocations: 52.72 kB / 347.3 MB, free: 60 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1684, allocations: 0.6671 MB / 348 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1688, allocations: 0.7677 MB / 348.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.1689, allocations: 26.28 kB / 348.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.169, allocations: 27.38 kB / 348.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.169, allocations: 4 kB / 348.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of Templates: time 0.007825/0.1768, allocations: 3.704 MB / 352.5 MB, free: 10.81 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches