Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 107.8 kB / 17.81 MB, free: 5.559 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.001915/0.001915, allocations: 197.9 kB / 18.73 MB, free: 4.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.911/1.911, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001532/0.001532, allocations: 51.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.15, allocations: 46.62 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005749/0.1558, allocations: 2.815 MB / 330.1 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1576, allocations: 0.6514 MB / 330.7 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005277/0.1582, allocations: 4 kB / 330.7 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.1587, allocations: 35.7 kB / 330.7 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005433/0.1592, allocations: 83.36 kB / 330.8 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.1596, allocations: 63.95 kB / 330.9 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006514/0.1603, allocations: 330.9 kB / 331.2 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.1607, allocations: 131.5 kB / 331.3 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.161, allocations: 115.6 kB / 331.5 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.1613, allocations: 151.3 kB / 331.6 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1614, allocations: 20 kB / 331.6 MB, free: 496 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1616, allocations: 24 kB / 331.6 MB, free: 472 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.1617, allocations: 63.75 kB / 331.7 MB, free: 408 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.1619, allocations: 155.2 kB / 331.9 MB, free: 252 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.1623, allocations: 263.6 kB / 332.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1623, allocations: 4 kB / 332.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1623, allocations: 0 / 332.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.1624, allocations: 0 / 332.1 MB, free: 15.98 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001771/0.1642, allocations: 0.5965 MB / 332.7 MB, free: 15.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/0.1642, allocations: 8.031 kB / 332.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.1644, allocations: 32.56 kB / 332.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.1648, allocations: 255.7 kB / 333 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.1649, allocations: 20.92 kB / 333 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/0.165, allocations: 32.38 kB / 333.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.1656, allocations: 253.2 kB / 333.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1656, allocations: 0 / 333.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.1657, allocations: 12 kB / 333.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.1657, allocations: 8 kB / 333.3 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.1661, allocations: 182.2 kB / 333.5 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.1681, allocations: 1.017 MB / 334.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.1687, allocations: 332.8 kB / 334.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.169, allocations: 140.8 kB / 335 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1691, allocations: 4 kB / 335 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.1691, allocations: 42.5 kB / 335 MB, free: 12.85 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.1691, allocations: 0 / 335 MB, free: 12.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001979/0.1711, allocations: 0.7768 MB / 335.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.1712, allocations: 55.41 kB / 335.9 MB, free: 11.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1715, allocations: 190.3 kB / 336 MB, free: 11.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.1716, allocations: 29.7 kB / 336.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1718, allocations: 168.3 kB / 336.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1719, allocations: 90.64 kB / 336.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.172, allocations: 45.98 kB / 336.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.1722, allocations: 342.8 kB / 336.7 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.1724, allocations: 72.53 kB / 336.8 MB, free: 10.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.1726, allocations: 94.75 kB / 336.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.1729, allocations: 185.7 kB / 337 MB, free: 10.71 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1729, allocations: 3.938 kB / 337.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007784/0.1737, allocations: 322 kB / 337.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.1738, allocations: 4 kB / 337.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1738, allocations: 3.938 kB / 337.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.1741, allocations: 84.81 kB / 337.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.1743, allocations: 44.02 kB / 337.5 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.1771, allocations: 1.893 MB / 339.4 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.1772, allocations: 12.02 kB / 339.4 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.1772, allocations: 12 kB / 339.4 MB, free: 8.191 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.1775, allocations: 141.7 kB / 339.6 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.1775, allocations: 27.78 kB / 339.6 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.1776, allocations: 25.88 kB / 339.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1776, allocations: 0 / 339.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.1776, allocations: 4 kB / 339.6 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.1776, allocations: 3.984 kB / 339.6 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.179, allocations: 0.7527 MB / 340.4 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.179, allocations: 0 / 340.4 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.1792, allocations: 35.98 kB / 340.4 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.1794, allocations: 80.66 kB / 340.5 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.1795, allocations: 4 kB / 340.5 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.1818, allocations: 1.796 MB / 342.3 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1819, allocations: 0 / 342.3 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.1826, allocations: 459.8 kB / 342.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.659e-05/0.1827, allocations: 92.98 kB / 342.8 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1828, allocations: 4.062 kB / 342.8 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.183, allocations: 15.98 kB / 342.8 MB, free: 4.523 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/0.1831, allocations: 23.84 kB / 342.9 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.1831, allocations: 12 kB / 342.9 MB, free: 4.488 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1832, allocations: 140.3 kB / 343 MB, free: 4.352 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1833, allocations: 0 / 343 MB, free: 4.352 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.1837, allocations: 80 kB / 343.1 MB, free: 4.273 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0002553/0.184, allocations: 111.2 kB / 343.2 MB, free: 4.156 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009422/0.185, allocations: 366.6 kB / 343.6 MB, free: 3.785 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.185, allocations: 0 / 343.6 MB, free: 3.785 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005341/0.1855, allocations: 259 kB / 343.8 MB, free: 3.52 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.1861, allocations: 39.92 kB / 343.9 MB, free: 3.48 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.1881, allocations: 0.9063 MB / 344.8 MB, free: 2.543 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.1887, allocations: 0.7675 MB / 345.5 MB, free: 1.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.1888, allocations: 19.44 kB / 345.5 MB, free: 1.73 MB / 286.1 MB Notification: Performance of SimCode: time 3.878e-06/0.1888, allocations: 0 / 345.5 MB, free: 1.73 MB / 286.1 MB Notification: Performance of Templates: time 0.007987/0.1968, allocations: 4.012 MB / 349.6 MB, free: 13.71 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalogCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalogCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalogCalcHelperMain.o] Error 1