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.001044/0.001044, allocations: 100.3 kB / 18.34 MB, free: 4.852 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.001128/0.001128, allocations: 187 kB / 19.28 MB, free: 3.918 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.334/1.334, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001176/0.001176, allocations: 43.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09497, allocations: 46.62 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006541/0.1016, allocations: 5.727 MB / 334.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.104, allocations: 1.197 MB / 335.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.1044, allocations: 23.94 kB / 335.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.1048, allocations: 170.4 kB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.1053, allocations: 273.5 kB / 336.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.1058, allocations: 219.7 kB / 336.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000959/0.1068, allocations: 1.067 MB / 337.4 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007041/0.1075, allocations: 0.5064 MB / 337.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004141/0.1079, allocations: 414.6 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005295/0.1084, allocations: 489.8 kB / 338.8 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1086, allocations: 96 kB / 338.8 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1087, allocations: 96 kB / 338.9 MB, free: 9.457 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.1089, allocations: 215.3 kB / 339.2 MB, free: 9.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004247/0.1093, allocations: 0.5015 MB / 339.7 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.1105, allocations: 1.102 MB / 340.8 MB, free: 7.637 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1105, allocations: 0 / 340.8 MB, free: 7.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1105, allocations: 0 / 340.8 MB, free: 7.637 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.1105, 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.002027/0.1125, allocations: 1.244 MB / 342 MB, free: 6.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1126, allocations: 8.031 kB / 342 MB, free: 6.336 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.1127, allocations: 107.7 kB / 342.1 MB, free: 6.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.1134, allocations: 455.2 kB / 342.6 MB, free: 5.742 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/0.1135, allocations: 70.38 kB / 342.6 MB, free: 5.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.1136, allocations: 100.3 kB / 342.7 MB, free: 5.574 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.115, allocations: 0.8716 MB / 343.6 MB, free: 4.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.115, allocations: 0 / 343.6 MB, free: 4.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.1151, allocations: 48 kB / 343.6 MB, free: 4.633 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.1152, allocations: 20 kB / 343.7 MB, free: 4.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009602/0.1161, allocations: 0.5661 MB / 344.2 MB, free: 4.043 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004377/0.1205, allocations: 2.945 MB / 347.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.1211, allocations: 302.3 kB / 347.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.1217, allocations: 272.6 kB / 347.7 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.1217, allocations: 7.984 kB / 347.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.1218, allocations: 42.56 kB / 347.8 MB, free: 352 kB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 3.417e-06/0.1218, allocations: 4 kB / 347.8 MB, free: 348 kB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001537/0.1233, allocations: 0.6472 MB / 348.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.1234, allocations: 59.41 kB / 348.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/0.124, allocations: 0.5141 MB / 349 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.124, allocations: 33.7 kB / 349 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.1243, allocations: 485.6 kB / 349.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.1244, allocations: 157.7 kB / 349.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.1246, allocations: 138.5 kB / 349.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1248, allocations: 366.8 kB / 350.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.1251, allocations: 169.9 kB / 350.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.1256, allocations: 453.6 kB / 350.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008587/0.1265, allocations: 0.6517 MB / 351.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.1265, allocations: 4 kB / 351.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001144/0.1277, allocations: 0.7571 MB / 352.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1277, allocations: 8 kB / 352.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1277, allocations: 8 kB / 352.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.128, allocations: 84.91 kB / 352.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.1286, allocations: 199.7 kB / 352.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.1305, allocations: 2.01 MB / 354.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.1309, allocations: 83.06 kB / 354.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.131, allocations: 40.06 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.0003185/0.1313, allocations: 213.5 kB / 354.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.1314, allocations: 59.34 kB / 354.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.1315, allocations: 65.5 kB / 354.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1315, allocations: 4 kB / 354.9 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1315, allocations: 3.938 kB / 354.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1316, allocations: 3.984 kB / 354.9 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/0.1323, allocations: 0.6492 MB / 355.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1323, allocations: 4 kB / 355.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.1327, allocations: 99.86 kB / 355.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.1329, allocations: 68.8 kB / 355.8 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.1329, allocations: 12 kB / 355.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.1346, allocations: 1.983 MB / 357.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1346, allocations: 0 / 357.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/0.1356, allocations: 0.6658 MB / 358.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.1357, allocations: 136.4 kB / 358.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.1358, allocations: 8 kB / 358.6 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.1362, allocations: 39.97 kB / 358.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.1362, allocations: 31.95 kB / 358.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.1363, allocations: 16 kB / 358.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003572/0.1366, allocations: 346.9 kB / 359 MB, free: 4.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1366, allocations: 0 / 359 MB, free: 4.406 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007899/0.1374, allocations: 251.1 kB / 359.2 MB, free: 4.16 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.0001506/0.1376, allocations: 111.2 kB / 359.3 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000938/0.1385, allocations: 0.5893 MB / 359.9 MB, free: 3.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1386, allocations: 256 / 359.9 MB, free: 3.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.139, allocations: 326.4 kB / 360.3 MB, free: 3.109 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.1396, allocations: 122.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.002092/0.1417, allocations: 1.4 MB / 361.8 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.1421, allocations: 0.9222 MB / 362.7 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.1424, allocations: 73.2 kB / 362.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/0.1425, allocations: 43.38 kB / 362.8 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1425, allocations: 0 / 362.8 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of Templates: time 0.01259/0.1551, allocations: 7.175 MB / 370 MB, free: 9.324 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 cvode -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