Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 107.2 kB / 18.34 MB, free: 4.676 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.001188/0.001188, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.635/1.635, 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.001196/0.001196, allocations: 55.91 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.09772, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006677/0.1044, allocations: 5.707 MB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.1071, allocations: 1.204 MB / 335.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.1075, allocations: 16 kB / 335.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.108, allocations: 174.4 kB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.1086, allocations: 277.4 kB / 336.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.1091, allocations: 223.7 kB / 336.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.1101, allocations: 1.06 MB / 337.4 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007379/0.1109, allocations: 0.5103 MB / 337.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.1113, allocations: 410.7 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005361/0.1119, allocations: 477.9 kB / 338.7 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.112, allocations: 96 kB / 338.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1121, allocations: 100 kB / 338.9 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.1123, allocations: 219.2 kB / 339.1 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004344/0.1128, allocations: 0.5055 MB / 339.7 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009649/0.1137, allocations: 1.098 MB / 340.7 MB, free: 7.641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1137, allocations: 4 kB / 340.8 MB, free: 7.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1138, allocations: 0 / 340.8 MB, free: 7.637 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.1138, allocations: 0 / 340.8 MB, free: 7.637 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001904/0.1157, allocations: 1.24 MB / 342 MB, free: 6.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1157, allocations: 16.03 kB / 342 MB, free: 6.332 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.1159, allocations: 103.7 kB / 342.1 MB, free: 6.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/0.1166, allocations: 451.2 kB / 342.5 MB, free: 5.746 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.1167, allocations: 74.38 kB / 342.6 MB, free: 5.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.1168, allocations: 96.22 kB / 342.7 MB, free: 5.578 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.1182, allocations: 0.8794 MB / 343.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.1182, allocations: 4 kB / 343.6 MB, free: 4.672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.1183, allocations: 36 kB / 343.6 MB, free: 4.637 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.1183, allocations: 24 kB / 343.7 MB, free: 4.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009297/0.1192, allocations: 0.5738 MB / 344.2 MB, free: 4.035 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/0.1232, allocations: 2.941 MB / 347.2 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.1237, allocations: 302.2 kB / 347.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.124, allocations: 276.6 kB / 347.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.124, allocations: 4 kB / 347.7 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1241, allocations: 42.56 kB / 347.8 MB, free: 348 kB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.1241, allocations: 0 / 347.8 MB, free: 348 kB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001411/0.1255, allocations: 0.6472 MB / 348.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.1256, allocations: 59.34 kB / 348.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.1261, allocations: 0.5141 MB / 349 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.1262, allocations: 37.64 kB / 349 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.1264, allocations: 485.6 kB / 349.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1266, allocations: 161.7 kB / 349.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.1268, allocations: 142.5 kB / 349.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1269, allocations: 362.8 kB / 350.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.1272, allocations: 169.9 kB / 350.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.1277, allocations: 457.6 kB / 350.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007604/0.1284, allocations: 0.64 MB / 351.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.1285, allocations: 4 kB / 351.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001126/0.1296, allocations: 0.7567 MB / 352.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1296, allocations: 8 kB / 352.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.1296, allocations: 16.56 kB / 352.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/0.13, allocations: 84.81 kB / 352.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/0.1306, allocations: 191.7 kB / 352.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.1325, allocations: 2.006 MB / 354.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.133, allocations: 91 kB / 354.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.1331, allocations: 36 kB / 354.6 MB, free: 9.035 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002904/0.1334, allocations: 217.5 kB / 354.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.1335, allocations: 59.34 kB / 354.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1336, allocations: 61.58 kB / 354.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1336, allocations: 8 kB / 354.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.1336, allocations: 11.92 kB / 355 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1336, allocations: 0 / 355 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006979/0.1343, allocations: 0.6414 MB / 355.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1343, allocations: 4 kB / 355.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.1347, allocations: 95.88 kB / 355.7 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.1349, allocations: 76.73 kB / 355.8 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.135, allocations: 11.98 kB / 355.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.1366, allocations: 1.975 MB / 357.8 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.1367, allocations: 3.984 kB / 357.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000884/0.1375, allocations: 0.6658 MB / 358.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.1377, allocations: 140.4 kB / 358.6 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.1378, allocations: 8 kB / 358.6 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.1382, allocations: 47.97 kB / 358.6 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.1383, allocations: 23.97 kB / 358.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.1383, allocations: 19.92 kB / 358.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000383/0.1387, allocations: 346.9 kB / 359 MB, free: 4.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1387, allocations: 0 / 359 MB, free: 4.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007565/0.1395, allocations: 247.1 kB / 359.2 MB, free: 4.156 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000144/0.1396, allocations: 115.2 kB / 359.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009394/0.1406, allocations: 0.596 MB / 359.9 MB, free: 3.426 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1406, allocations: 0 / 359.9 MB, free: 3.426 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004464/0.141, allocations: 315.8 kB / 360.3 MB, free: 3.105 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.1416, allocations: 118.3 kB / 360.4 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.1437, allocations: 1.395 MB / 361.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.1442, allocations: 0.9337 MB / 362.7 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002395/0.1445, allocations: 69.22 kB / 362.8 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.1446, allocations: 43.38 kB / 362.8 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1446, allocations: 0 / 362.8 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of Templates: time 0.01236/0.1569, allocations: 7.165 MB / 370 MB, free: 9.332 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches