Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000874/0.0008741, allocations: 96.17 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009767/0.0009767, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 45.9 MB / 344.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002844, allocations: 7.984 kB / 418.6 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 63.47 MB / 482.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002264/0.1625, allocations: 1.392 MB / 483.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002102/0.1627, allocations: 83.72 kB / 483.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.1628, allocations: 0 / 483.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.433e-05/0.1628, allocations: 11.92 kB / 483.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.163, allocations: 19.83 kB / 483.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.1631, allocations: 23.92 kB / 483.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.1633, allocations: 95.59 kB / 483.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.1635, allocations: 44.28 kB / 483.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.1635, allocations: 31.81 kB / 483.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.1636, allocations: 39.83 kB / 483.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1637, allocations: 8 kB / 483.9 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/0.1637, allocations: 4 kB / 483.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.1637, allocations: 19.92 kB / 483.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.1638, allocations: 45.64 kB / 483.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.1639, allocations: 84.03 kB / 484 MB, free: 3.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.164, allocations: 4 kB / 484 MB, free: 3.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.164, allocations: 4 kB / 484 MB, free: 3.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.164, allocations: 0 / 484 MB, free: 3.52 MB / 350.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.0006967/0.1647, allocations: 375.3 kB / 484.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1647, allocations: 12.03 kB / 484.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.1648, allocations: 11.81 kB / 484.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.165, allocations: 178.9 kB / 484.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.165, allocations: 12.23 kB / 484.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.165, allocations: 16 kB / 484.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.1653, allocations: 125 kB / 484.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1653, allocations: 0 / 484.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1653, allocations: 4 kB / 484.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.1653, allocations: 4 kB / 484.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.1654, allocations: 59.92 kB / 484.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.1664, allocations: 0.7235 MB / 485.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.1665, allocations: 173.1 kB / 485.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.1665, allocations: 84.14 kB / 485.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.1666, allocations: 79.27 kB / 485.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/0.1666, allocations: 105.8 kB / 486 MB, free: 1.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1666, allocations: 0 / 486 MB, free: 1.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.128e-05/0.1667, allocations: 41.5 kB / 486 MB, free: 1.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.1668, allocations: 130.7 kB / 486.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.167, allocations: 148.2 kB / 486.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.167, allocations: 25.7 kB / 486.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.1671, allocations: 123.6 kB / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.1671, allocations: 0 / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.1671, allocations: 0 / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1673, allocations: 322.8 kB / 486.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.1673, allocations: 8 kB / 486.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-05/0.1674, allocations: 45.09 kB / 486.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.1674, allocations: 12 kB / 486.8 MB, free: 492 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1674, allocations: 0 / 486.8 MB, free: 492 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001613/0.1676, allocations: 81.41 kB / 486.9 MB, free: 404 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1676, allocations: 15.92 kB / 486.9 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1676, allocations: 0 / 486.9 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1676, allocations: 4 kB / 486.9 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.604e-05/0.1677, allocations: 11.95 kB / 486.9 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1677, allocations: 0 / 486.9 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.1678, allocations: 11.84 kB / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1678, allocations: 4 kB / 486.9 MB, free: 356 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.000136/0.1679, allocations: 193.8 kB / 487.1 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.388e-05/0.168, allocations: 120.8 kB / 487.2 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.624e-05/0.1681, allocations: 108.9 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/0.1682, allocations: 180.2 kB / 487.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.785e-05/0.1683, allocations: 180.2 kB / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.295e-05/0.1684, allocations: 184.2 kB / 487.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.1688, allocations: 445.1 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.242e-05/0.1689, allocations: 109 kB / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.169, allocations: 104.9 kB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.957e-05/0.1691, allocations: 176.3 kB / 488.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.1692, allocations: 176.3 kB / 488.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.489e-05/0.1693, allocations: 188.2 kB / 489 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001078/0.1694, allocations: 184.2 kB / 489.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1696, allocations: 303.7 kB / 489.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.1698, allocations: 194 kB / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.1699, allocations: 184.2 kB / 489.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.17, allocations: 105.1 kB / 490 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.1701, allocations: 184.2 kB / 490.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.1702, allocations: 101 kB / 490.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.1703, allocations: 111.2 kB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1703, allocations: 0 / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1706, allocations: 23.86 kB / 490.4 MB, free: 12.64 MB / 366.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 (0): * Single equations (assignments): 0 * 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.0001553/0.1707, allocations: 170.5 kB / 490.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.512e-05/0.1708, allocations: 19.94 kB / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.1709, allocations: 0 / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.1709, allocations: 3.938 kB / 490.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.1714, allocations: 0.5266 MB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.1719, allocations: 302 kB / 491.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.1724, allocations: 0.6965 MB / 492.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.1724, allocations: 11.44 kB / 492.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1724, allocations: 0 / 492.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of Templates: time 0.002674/0.1751, allocations: 0.8368 MB / 492.9 MB, free: 10.01 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.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 OMCppModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyratorCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyratorCalcHelperMain.o] Error 1