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: 108.4 kB / 18.35 MB, free: 4.625 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.001124/0.001124, allocations: 191 kB / 19.29 MB, free: 3.691 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.532/1.532, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001263/0.001263, allocations: 51.92 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005041/0.1158, allocations: 2.816 MB / 331.6 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1174, allocations: 0.7604 MB / 332.3 MB, free: 140 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.1176, allocations: 4 kB / 332.3 MB, free: 136 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.1179, allocations: 51.5 kB / 332.4 MB, free: 84 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.1181, allocations: 95.19 kB / 332.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.1185, allocations: 103.7 kB / 332.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005117/0.119, allocations: 394.4 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.1193, allocations: 88.94 kB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.1196, allocations: 143.5 kB / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.1198, allocations: 167.2 kB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/0.1199, allocations: 32 kB / 333.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.942e-05/0.12, allocations: 36 kB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.1201, allocations: 71.75 kB / 333.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.1203, allocations: 163.1 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.1208, allocations: 350.8 kB / 334 MB, free: 14.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.1208, allocations: 0 / 334 MB, free: 14.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1208, allocations: 0 / 334 MB, free: 14.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.1208, allocations: 0 / 334 MB, free: 14.47 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.00157/0.1224, allocations: 0.6691 MB / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.1224, allocations: 8.031 kB / 334.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.212e-05/0.1225, allocations: 36.56 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.1231, allocations: 296.5 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.1232, allocations: 16.94 kB / 335 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.1232, allocations: 24.31 kB / 335 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.1239, allocations: 273.1 kB / 335.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1239, allocations: 0 / 335.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.124, allocations: 8 kB / 335.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.124, allocations: 12 kB / 335.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007591/0.1247, allocations: 270 kB / 335.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.1264, allocations: 0.883 MB / 336.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009023/0.1274, allocations: 355.7 kB / 336.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.1278, allocations: 124.7 kB / 336.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.1278, allocations: 4 kB / 336.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004941/0.1283, allocations: 197.7 kB / 337.1 MB, free: 11.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 2.215e-06/0.1283, allocations: 0 / 337.1 MB, free: 11.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001816/0.1302, allocations: 0.5761 MB / 337.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.1302, allocations: 106.8 kB / 337.8 MB, free: 10.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.1305, allocations: 266.6 kB / 338.1 MB, free: 10.11 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1306, allocations: 25.8 kB / 338.1 MB, free: 10.08 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1307, allocations: 191.8 kB / 338.3 MB, free: 9.887 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.1308, allocations: 55.2 kB / 338.3 MB, free: 9.832 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.1309, allocations: 53.84 kB / 338.4 MB, free: 9.773 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.131, allocations: 338.8 kB / 338.7 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.1313, allocations: 105.5 kB / 338.8 MB, free: 9.328 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.1317, allocations: 168.1 kB / 339 MB, free: 9.137 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/0.1323, allocations: 275.5 kB / 339.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1323, allocations: 0 / 339.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001074/0.1334, allocations: 427.5 kB / 339.7 MB, free: 8.406 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.1335, allocations: 29.7 kB / 339.7 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1335, allocations: 4 kB / 339.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/0.1339, allocations: 92.78 kB / 339.8 MB, free: 8.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.1342, allocations: 59.89 kB / 339.8 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.1361, allocations: 1.555 MB / 341.4 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.1364, allocations: 47.8 kB / 341.4 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.1365, allocations: 15.94 kB / 341.5 MB, free: 6.457 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003629/0.1368, allocations: 196.4 kB / 341.7 MB, free: 6.262 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003084/0.1372, allocations: 148.1 kB / 341.8 MB, free: 6.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00054/0.1377, allocations: 255.4 kB / 342 MB, free: 5.812 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.1377, allocations: 4 kB / 342.1 MB, free: 5.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007411/0.1385, allocations: 343.5 kB / 342.4 MB, free: 5.457 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.1385, allocations: 37.69 kB / 342.4 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1385, allocations: 4.188 kB / 342.4 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.848e-05/0.1386, allocations: 24.8 kB / 342.5 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.1389, allocations: 59.95 kB / 342.5 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.1406, allocations: 1.552 MB / 344.1 MB, free: 3.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.1409, allocations: 43.84 kB / 344.1 MB, free: 3.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.1409, allocations: 12.09 kB / 344.1 MB, free: 3.578 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 (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.1411, allocations: 196.2 kB / 344.3 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.1412, allocations: 27.66 kB / 344.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.1412, allocations: 30.17 kB / 344.4 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.1412, allocations: 4 kB / 344.4 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1412, allocations: 0 / 344.4 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1413, allocations: 0 / 344.4 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.1426, allocations: 0.7104 MB / 345.1 MB, free: 2.547 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1426, allocations: 0 / 345.1 MB, free: 2.547 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.1428, allocations: 47.98 kB / 345.1 MB, free: 2.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000169/0.143, allocations: 52.89 kB / 345.2 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.143, allocations: 4 kB / 345.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.1446, allocations: 1.539 MB / 346.7 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1446, allocations: 7.922 kB / 346.7 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.1458, allocations: 0.5077 MB / 347.2 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.1458, allocations: 104.9 kB / 347.3 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.1459, allocations: 8 kB / 347.3 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.1462, allocations: 31.97 kB / 347.4 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.1463, allocations: 19.97 kB / 347.4 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1463, allocations: 4 kB / 347.4 MB, free: 44 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.1465, allocations: 201.9 kB / 347.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1466, allocations: 0 / 347.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005617/0.1471, allocations: 131.7 kB / 347.7 MB, free: 15.72 MB / 302.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 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.1473, allocations: 111.3 kB / 347.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.1488, allocations: 0.6989 MB / 348.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1488, allocations: 0 / 348.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.1493, allocations: 247.2 kB / 348.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.1497, allocations: 44.47 kB / 348.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.151, allocations: 0.5585 MB / 349.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.1515, allocations: 0.756 MB / 350.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.1516, allocations: 38.27 kB / 350.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.1517, allocations: 19.44 kB / 350.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1517, allocations: 0 / 350.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of Templates: time 0.009283/0.161, allocations: 4.23 MB / 354.4 MB, free: 8.891 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches