Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008731/0.0008734, allocations: 96.41 kB / 17.64 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009433/0.0009434, allocations: 198 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.669/1.669, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.002632/0.1617, allocations: 1.797 MB / 360.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1628, allocations: 0.5653 MB / 361.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.348e-05/0.1629, allocations: 4 kB / 361.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.1631, allocations: 23.84 kB / 361.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.58e-05/0.1631, allocations: 35.69 kB / 361.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.1634, allocations: 31.91 kB / 361.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.1636, allocations: 143.3 kB / 361.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.1637, allocations: 41.45 kB / 361.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.1639, allocations: 55.78 kB / 361.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.164, allocations: 55.72 kB / 361.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.164, allocations: 8 kB / 361.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-05/0.1641, allocations: 19.98 kB / 361.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.1642, allocations: 23.91 kB / 361.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.1643, allocations: 49.64 kB / 361.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.1644, allocations: 119.9 kB / 361.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.1644, allocations: 0 / 361.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1645, allocations: 3.938 kB / 361.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1645, allocations: 0 / 361.8 MB, free: 11.13 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006464/0.1651, allocations: 431.1 kB / 362.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1652, allocations: 8.031 kB / 362.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.1654, allocations: 31.8 kB / 362.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1656, allocations: 194.9 kB / 362.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1657, allocations: 12.23 kB / 362.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.1657, allocations: 15.89 kB / 362.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.166, allocations: 123.5 kB / 362.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.166, allocations: 0 / 362.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.166, allocations: 8 kB / 362.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.166, allocations: 3.938 kB / 362.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.1662, allocations: 84.66 kB / 362.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009615/0.1672, allocations: 0.6057 MB / 363.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.1675, allocations: 90.56 kB / 363.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.791e-05/0.1676, allocations: 32.97 kB / 363.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1676, allocations: 0 / 363.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1676, allocations: 30.56 kB / 363.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1676, allocations: 4 kB / 363.4 MB, free: 9.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006811/0.1683, allocations: 259.4 kB / 363.7 MB, free: 9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.1684, allocations: 59.36 kB / 363.7 MB, free: 8.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1685, allocations: 149.1 kB / 363.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1686, allocations: 25.7 kB / 363.9 MB, free: 8.746 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.1687, allocations: 127.9 kB / 364 MB, free: 8.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.1687, allocations: 23.64 kB / 364 MB, free: 8.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.1687, allocations: 4 kB / 364 MB, free: 8.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1688, allocations: 314.8 kB / 364.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.573e-05/0.1689, allocations: 31.92 kB / 364.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.169, allocations: 46.56 kB / 364.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.398e-05/0.1691, allocations: 31.97 kB / 364.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1691, allocations: 0 / 364.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002823/0.1694, allocations: 142.2 kB / 364.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1694, allocations: 4 kB / 364.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1694, allocations: 0 / 364.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.1696, allocations: 40.83 kB / 364.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.1697, allocations: 8 kB / 364.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.1713, allocations: 1.524 MB / 366.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.1713, allocations: 7.938 kB / 366.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1714, allocations: 7.953 kB / 366.2 MB, free: 6.285 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.1715, allocations: 117.8 kB / 366.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.1715, allocations: 16 kB / 366.3 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.524e-05/0.1716, allocations: 12.7 kB / 366.3 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1716, allocations: 3.938 kB / 366.3 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.1716, allocations: 7.938 kB / 366.3 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1716, allocations: 4 kB / 366.3 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.1719, allocations: 213.6 kB / 366.6 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1719, allocations: 0 / 366.6 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.1719, allocations: 4 kB / 366.6 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.172, allocations: 40.77 kB / 366.6 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1721, allocations: 0 / 366.6 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.1734, allocations: 1.506 MB / 368.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1734, allocations: 3.953 kB / 368.1 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.1737, allocations: 220.3 kB / 368.3 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1738, allocations: 92.97 kB / 368.4 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1738, allocations: 0 / 368.4 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.1739, allocations: 7.984 kB / 368.4 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.174, allocations: 8 kB / 368.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.174, allocations: 0 / 368.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.541e-05/0.1741, allocations: 115.2 kB / 368.5 MB, free: 3.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1741, allocations: 0 / 368.5 MB, free: 3.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003612/0.1744, allocations: 43.84 kB / 368.6 MB, free: 3.652 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001277/0.1746, allocations: 95.25 kB / 368.7 MB, free: 3.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003759/0.175, allocations: 186.6 kB / 368.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.175, allocations: 0 / 368.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.1752, allocations: 166.6 kB / 369 MB, free: 3.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1755, allocations: 18.39 kB / 369 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.1761, allocations: 376.1 kB / 369.4 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1764, allocations: 0.7157 MB / 370.1 MB, free: 2.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.1764, allocations: 11.44 kB / 370.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1765, allocations: 0 / 370.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of Templates: time 0.003685/0.1801, allocations: 1.88 MB / 372 MB, free: 132 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.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_trunk_Modelica.Electrical.Analog.Examples.ResistorCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ResistorCalcHelperMain.o] Error 1