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.0008831/0.0008828, allocations: 91.78 kB / 17.3 MB, free: 6.031 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.001045/0.001046, allocations: 176.6 kB / 18.2 MB, free: 5.41 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.825/1.825, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.000469/0.000469, allocations: 12 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005408/0.1249, allocations: 5.251 MB / 334.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.1275, allocations: 1.185 MB / 335.4 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005396/0.1281, allocations: 19.94 kB / 335.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.1284, allocations: 131 kB / 335.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005972/0.1291, allocations: 238 kB / 335.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.1295, allocations: 183.8 kB / 335.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009152/0.1304, allocations: 1.013 MB / 337 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006284/0.1311, allocations: 444.6 kB / 337.4 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.1315, allocations: 338.7 kB / 337.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.1319, allocations: 409.9 kB / 338.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.652e-05/0.132, allocations: 52 kB / 338.2 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.1321, allocations: 48 kB / 338.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1322, allocations: 167.3 kB / 338.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.1326, allocations: 475.3 kB / 338.9 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007998/0.1334, allocations: 1.027 MB / 339.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1334, allocations: 0 / 339.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1334, allocations: 0 / 339.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1335, allocations: 0 / 339.9 MB, free: 8.75 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.00175/0.1352, allocations: 1.084 MB / 341 MB, free: 7.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1353, allocations: 11.97 kB / 341 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.1354, allocations: 107.7 kB / 341.1 MB, free: 7.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.136, allocations: 447.2 kB / 341.5 MB, free: 7.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.1361, allocations: 70.38 kB / 341.6 MB, free: 6.949 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.1362, allocations: 100.3 kB / 341.7 MB, free: 6.852 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.1376, allocations: 0.8755 MB / 342.6 MB, free: 5.953 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1376, allocations: 0 / 342.6 MB, free: 5.953 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.628e-05/0.1377, allocations: 36 kB / 342.6 MB, free: 5.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.1377, allocations: 24 kB / 342.6 MB, free: 5.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009368/0.1387, allocations: 0.5778 MB / 343.2 MB, free: 5.316 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.1428, allocations: 2.983 MB / 346.2 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.1432, allocations: 310.4 kB / 346.5 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.1436, allocations: 272.8 kB / 346.7 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1436, allocations: 4 kB / 346.8 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1437, allocations: 38.56 kB / 346.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 5.641e-06/0.1437, allocations: 0 / 346.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001509/0.1452, allocations: 0.6627 MB / 347.5 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.1452, allocations: 59.34 kB / 347.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000598/0.1458, allocations: 0.518 MB / 348 MB, free: 296 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.1459, allocations: 37.7 kB / 348.1 MB, free: 252 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.1463, allocations: 485.8 kB / 348.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.1464, allocations: 161.7 kB / 348.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.1465, allocations: 61.69 kB / 348.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1467, allocations: 366.8 kB / 349.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.147, allocations: 173.9 kB / 349.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.1474, allocations: 457.6 kB / 349.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007999/0.1482, allocations: 0.6517 MB / 350.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.1483, allocations: 4 kB / 350.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001179/0.1494, allocations: 0.7609 MB / 351.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.1495, allocations: 8 kB / 351.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.1495, allocations: 12 kB / 351.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.1498, allocations: 89.06 kB / 351.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.1506, allocations: 199.7 kB / 351.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.1525, allocations: 1.803 MB / 353.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.1531, allocations: 95.03 kB / 353.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.1531, allocations: 36 kB / 353.4 MB, free: 10.5 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.0003071/0.1534, allocations: 217.5 kB / 353.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.1535, allocations: 59.34 kB / 353.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.1536, allocations: 61.52 kB / 353.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1536, allocations: 7.984 kB / 353.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.1537, allocations: 8 kB / 353.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1537, allocations: 0 / 353.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007298/0.1544, allocations: 0.653 MB / 354.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1544, allocations: 0 / 354.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.1548, allocations: 99.88 kB / 354.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/0.155, allocations: 76.8 kB / 354.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.1551, allocations: 8 kB / 354.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.1568, allocations: 1.8 MB / 356.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1568, allocations: 0 / 356.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009556/0.1578, allocations: 0.6659 MB / 357 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1579, allocations: 140.3 kB / 357.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.158, allocations: 4 kB / 357.2 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.1584, allocations: 59.91 kB / 357.2 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.1585, allocations: 27.95 kB / 357.3 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.1585, allocations: 12 kB / 357.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004093/0.1589, allocations: 350.9 kB / 357.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1589, allocations: 0 / 357.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007776/0.1597, allocations: 243.2 kB / 357.8 MB, free: 5.801 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.0001497/0.1599, allocations: 115.2 kB / 358 MB, free: 5.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009523/0.1608, allocations: 0.593 MB / 358.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1609, allocations: 0 / 358.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.1613, allocations: 322.8 kB / 358.9 MB, free: 4.742 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006662/0.162, allocations: 110.2 kB / 359 MB, free: 4.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.1645, allocations: 1.851 MB / 360.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.165, allocations: 0.9262 MB / 361.7 MB, free: 1.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002958/0.1653, allocations: 73.2 kB / 361.8 MB, free: 1.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.1654, allocations: 39.44 kB / 361.9 MB, free: 1.695 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1654, allocations: 0 / 361.9 MB, free: 1.695 MB / 302.1 MB Notification: Performance of Templates: time 0.01286/0.1782, allocations: 6.755 MB / 368.6 MB, free: 10.95 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches