Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008983/0.0008983, allocations: 94.83 kB / 16.96 MB, free: 5.66 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.0009175/0.0009175, allocations: 185.9 kB / 17.85 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 223.2 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003542, allocations: 9.938 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 50.41 MB / 351.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003322/0.1508, allocations: 2.438 MB / 354.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1522, allocations: 0.6469 MB / 354.9 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.1523, allocations: 8 kB / 355 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1525, allocations: 47.56 kB / 355 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.1527, allocations: 75.38 kB / 355.1 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.1529, allocations: 67.88 kB / 355.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.1533, allocations: 343 kB / 355.5 MB, free: 408 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.1536, allocations: 128.7 kB / 355.6 MB, free: 264 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.1538, allocations: 115.5 kB / 355.7 MB, free: 148 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.154, allocations: 127.4 kB / 355.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.1541, allocations: 16 kB / 355.9 MB, free: 4 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.1541, allocations: 16.05 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.1542, allocations: 55.77 kB / 355.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.1543, allocations: 89.52 kB / 356 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.1546, allocations: 279.4 kB / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1546, allocations: 0 / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1546, allocations: 0 / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1546, allocations: 0 / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008949/0.1555, allocations: 0.573 MB / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1556, allocations: 8.031 kB / 356.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.827e-05/0.1557, allocations: 39.58 kB / 356.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.156, allocations: 250.5 kB / 357.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.156, allocations: 20.66 kB / 357.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.1561, allocations: 32 kB / 357.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.1566, allocations: 290 kB / 357.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1567, allocations: 0 / 357.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.1567, allocations: 12 kB / 357.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.1567, allocations: 11.94 kB / 357.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.1572, allocations: 226.5 kB / 357.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.1588, allocations: 1.034 MB / 358.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.1592, allocations: 166.5 kB / 358.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.1595, allocations: 136 kB / 359.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1595, allocations: 0 / 359.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.1595, allocations: 38.56 kB / 359.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.202e-06/0.1595, allocations: 0 / 359.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005547/0.1601, allocations: 248.3 kB / 359.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1602, allocations: 59.36 kB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.1604, allocations: 215.1 kB / 359.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1604, allocations: 33.7 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1605, allocations: 188 kB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.1606, allocations: 74.91 kB / 359.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.1606, allocations: 4 kB / 359.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1608, allocations: 330.8 kB / 360.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.161, allocations: 76.52 kB / 360.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.1613, allocations: 151.3 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.1615, allocations: 91.91 kB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1615, allocations: 7.938 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006083/0.1621, allocations: 277.2 kB / 360.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.1622, allocations: 8.25 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1622, allocations: 4 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1622, allocations: 4 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.1625, allocations: 71.89 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1625, allocations: 4 kB / 360.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.1627, allocations: 43.62 kB / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.1628, allocations: 12 kB / 361 MB, free: 10.62 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.1629, allocations: 141.8 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.163, allocations: 23.72 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.1635, allocations: 210.9 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1635, allocations: 8 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.1635, allocations: 0 / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.1635, allocations: 3.984 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009368/0.1645, allocations: 0.6092 MB / 361.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1645, allocations: 0 / 361.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.1648, allocations: 63.91 kB / 362 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.1648, allocations: 4 kB / 362 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1648, allocations: 0 / 362 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1648, allocations: 4 kB / 362 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1648, allocations: 3.984 kB / 362 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/0.1655, allocations: 396.3 kB / 362.4 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.1656, allocations: 100.8 kB / 362.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.1657, allocations: 4.062 kB / 362.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.1659, allocations: 19.98 kB / 362.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.166, allocations: 19.92 kB / 362.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.166, allocations: 8 kB / 362.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.1662, allocations: 148.7 kB / 362.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1662, allocations: 4 kB / 362.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003777/0.1665, allocations: 75.78 kB / 362.8 MB, free: 8.684 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001861/0.1667, allocations: 107.2 kB / 362.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.1672, allocations: 186.8 kB / 363.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1672, allocations: 0 / 363.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.1674, allocations: 87.89 kB / 363.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.1678, allocations: 32.56 kB / 363.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.1697, allocations: 1.08 MB / 364.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.1704, allocations: 0.7677 MB / 365 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.1705, allocations: 23.44 kB / 365.1 MB, free: 6.336 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1705, allocations: 0 / 365.1 MB, free: 6.336 MB / 302.1 MB Notification: Performance of Templates: time 0.005972/0.1765, allocations: 2.907 MB / 368 MB, free: 3.438 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonanceCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonanceCalcHelperMain.o] Error 1