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.0009496/0.00095, allocations: 97.53 kB / 17.96 MB, free: 5.758 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: 180.8 kB / 18.86 MB, free: 4.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005203/0.0005203, allocations: 15.94 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003586/0.137, allocations: 2.438 MB / 332.1 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1381, allocations: 0.6398 MB / 332.7 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.1383, allocations: 8 kB / 332.7 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.1385, allocations: 39.69 kB / 332.7 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1386, allocations: 79.31 kB / 332.8 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.1389, allocations: 63.95 kB / 332.9 MB, free: 476 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.1393, allocations: 338.9 kB / 333.2 MB, free: 136 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.1396, allocations: 123.5 kB / 333.3 MB, free: 12 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1398, allocations: 103.7 kB / 333.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.14, allocations: 139.3 kB / 333.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.1401, allocations: 16 kB / 333.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.422e-05/0.1401, allocations: 16 kB / 333.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.1402, allocations: 51.77 kB / 333.6 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.1404, allocations: 164.9 kB / 333.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.1407, allocations: 271.3 kB / 334.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1407, allocations: 0 / 334.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1407, allocations: 0 / 334.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.946e-06/0.1407, allocations: 0 / 334.1 MB, free: 15.26 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.001034/0.1418, allocations: 0.5381 MB / 334.6 MB, free: 14.67 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.1418, allocations: 12.03 kB / 334.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.563e-05/0.1419, allocations: 32.56 kB / 334.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.1423, allocations: 255.7 kB / 334.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1424, allocations: 20.94 kB / 334.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.1424, allocations: 28.38 kB / 335 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.143, allocations: 257.2 kB / 335.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.143, allocations: 4 kB / 335.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.143, allocations: 12 kB / 335.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.143, allocations: 8 kB / 335.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.1434, allocations: 186.2 kB / 335.4 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.1451, allocations: 1.021 MB / 336.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.1456, allocations: 336.8 kB / 336.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.1458, allocations: 148.8 kB / 336.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1458, allocations: 7.938 kB / 336.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1459, allocations: 34.56 kB / 336.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.1459, allocations: 0 / 336.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001587/0.1475, allocations: 0.7831 MB / 337.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1475, allocations: 51.41 kB / 337.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1478, allocations: 194.2 kB / 338 MB, free: 11.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.1478, allocations: 37.7 kB / 338 MB, free: 11.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.1479, allocations: 164.3 kB / 338.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.148, allocations: 94.64 kB / 338.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.1481, allocations: 29.7 kB / 338.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1482, allocations: 334.8 kB / 338.6 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1484, allocations: 72.53 kB / 338.7 MB, free: 10.31 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1485, allocations: 110.7 kB / 338.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.1489, allocations: 185.6 kB / 339 MB, free: 10.01 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1489, allocations: 0 / 339 MB, free: 10.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005467/0.1494, allocations: 322.1 kB / 339.3 MB, free: 9.684 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.1495, allocations: 4 kB / 339.3 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1495, allocations: 0 / 339.3 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002975/0.1498, allocations: 92.69 kB / 339.4 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.15, allocations: 43.97 kB / 339.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.1523, allocations: 1.901 MB / 341.3 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1525, allocations: 8.031 kB / 341.3 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.1525, allocations: 8 kB / 341.3 MB, free: 7.492 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.0002207/0.1527, allocations: 151.7 kB / 341.5 MB, free: 7.336 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.1528, allocations: 15.91 kB / 341.5 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.1529, allocations: 33.8 kB / 341.5 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1529, allocations: 4 kB / 341.5 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.1529, allocations: 0 / 341.5 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1529, allocations: 0 / 341.5 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.1542, allocations: 0.7645 MB / 342.3 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1543, allocations: 0 / 342.3 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.1544, allocations: 35.98 kB / 342.3 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/0.1547, allocations: 84.58 kB / 342.4 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.1547, allocations: 11.98 kB / 342.4 MB, free: 6.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.1567, allocations: 1.776 MB / 344.2 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1568, allocations: 4.031 kB / 344.2 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.1574, allocations: 463.8 kB / 344.7 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.1575, allocations: 100.9 kB / 344.8 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.1576, allocations: 7.922 kB / 344.8 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1577, allocations: 12 kB / 344.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.1578, allocations: 31.91 kB / 344.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1578, allocations: 4.281 kB / 344.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.158, allocations: 148.3 kB / 345 MB, free: 3.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.158, allocations: 0 / 345 MB, free: 3.625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004496/0.1585, allocations: 83.94 kB / 345.1 MB, free: 3.543 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.0001597/0.1586, allocations: 99.25 kB / 345.1 MB, free: 3.438 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008204/0.1595, allocations: 370.6 kB / 345.5 MB, free: 3.062 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.1595, allocations: 4 kB / 345.5 MB, free: 3.059 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004574/0.1599, allocations: 258.9 kB / 345.8 MB, free: 2.793 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.1604, allocations: 36.05 kB / 345.8 MB, free: 2.758 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1621, allocations: 1.008 MB / 346.8 MB, free: 1.719 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.1626, allocations: 0.7675 MB / 347.6 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.1626, allocations: 19.44 kB / 347.6 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1626, allocations: 0 / 347.6 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of Templates: time 0.007089/0.1697, allocations: 3.981 MB / 351.6 MB, free: 12.92 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