Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009848/0.0009844, allocations: 91.25 kB / 17.63 MB, free: 5.43 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.001147/0.001147, allocations: 185.2 kB / 18.52 MB, free: 4.992 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.496/1.496, allocations: 223.2 MB / 242.5 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2334/0.2334, allocations: 44.23 MB / 337.9 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 12.88 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 61.93 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002037/0.1518, allocations: 1.378 MB / 473.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.152, allocations: 83.66 kB / 473.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.1521, allocations: 4 kB / 473.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.1521, allocations: 7.922 kB / 473.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.1522, allocations: 19.84 kB / 473.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.1523, allocations: 15.98 kB / 473.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1525, allocations: 91.59 kB / 473.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.1527, allocations: 44.3 kB / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.1527, allocations: 31.91 kB / 473.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.921e-05/0.1528, allocations: 43.78 kB / 473.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1528, allocations: 8 kB / 473.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.1529, allocations: 4 kB / 473.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.1529, allocations: 11.94 kB / 473.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.1529, allocations: 41.7 kB / 474 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.153, allocations: 88.02 kB / 474.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.1531, allocations: 4 kB / 474.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1531, allocations: 3.938 kB / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1531, allocations: 0 / 474.1 MB, free: 11.8 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.0005069/0.1536, allocations: 383.3 kB / 474.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1537, allocations: 12.5 kB / 474.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.1537, allocations: 15.81 kB / 474.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1539, allocations: 167 kB / 474.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1539, allocations: 12.23 kB / 474.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1539, allocations: 15.95 kB / 474.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.1542, allocations: 136.9 kB / 474.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1542, allocations: 0 / 474.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1542, allocations: 0 / 474.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1542, allocations: 7.938 kB / 474.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1544, allocations: 63.97 kB / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008833/0.1553, allocations: 0.7195 MB / 475.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.543e-05/0.1554, allocations: 177.1 kB / 475.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.1554, allocations: 80.14 kB / 475.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1554, allocations: 75.28 kB / 475.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.1555, allocations: 105.8 kB / 476 MB, free: 9.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1555, allocations: 0 / 476 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.58e-05/0.1556, allocations: 37.59 kB / 476 MB, free: 9.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.1557, allocations: 134.7 kB / 476.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1559, allocations: 144.4 kB / 476.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1559, allocations: 25.7 kB / 476.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.156, allocations: 127.6 kB / 476.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-06/0.156, allocations: 0 / 476.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.156, allocations: 0 / 476.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1562, allocations: 326.7 kB / 476.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.1562, allocations: 4 kB / 476.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.1563, allocations: 49.14 kB / 476.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.894e-05/0.1563, allocations: 12 kB / 476.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1563, allocations: 0 / 476.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002026/0.1565, allocations: 77.47 kB / 476.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1566, allocations: 4 kB / 476.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.1566, allocations: 4 kB / 476.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1566, allocations: 0 / 476.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.1567, allocations: 11.94 kB / 476.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1567, allocations: 7.938 kB / 476.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.1568, allocations: 15.84 kB / 477 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1568, allocations: 7.984 kB / 477 MB, free: 8.621 MB / 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.0001664/0.157, allocations: 197.3 kB / 477.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.157, allocations: 108.9 kB / 477.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.401e-05/0.1571, allocations: 112.8 kB / 477.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.47e-05/0.1572, allocations: 184.2 kB / 477.6 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-05/0.1573, allocations: 180.2 kB / 477.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.874e-05/0.1574, allocations: 180.3 kB / 477.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.1577, allocations: 441.1 kB / 478.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.981e-05/0.1577, allocations: 105 kB / 478.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.1578, allocations: 109 kB / 478.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.007e-05/0.1579, allocations: 184.2 kB / 478.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.406e-05/0.158, allocations: 180.2 kB / 478.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-05/0.1581, allocations: 184.3 kB / 479.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.401e-05/0.1581, allocations: 184.3 kB / 479.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.1583, allocations: 307.7 kB / 479.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/0.1584, allocations: 193.9 kB / 479.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-05/0.1585, allocations: 184.2 kB / 479.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.1586, allocations: 101 kB / 480 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.1587, allocations: 184.2 kB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.1587, allocations: 108.9 kB / 480.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.514e-05/0.1588, allocations: 105.3 kB / 480.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1588, allocations: 0 / 480.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1591, allocations: 19.91 kB / 480.4 MB, free: 4.922 MB / 350.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.0001239/0.1592, allocations: 178.5 kB / 480.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.273e-05/0.1593, allocations: 19.92 kB / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1593, allocations: 4 kB / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1593, allocations: 0 / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.1598, allocations: 0.5228 MB / 481.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.1603, allocations: 313.9 kB / 481.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1606, allocations: 0.6926 MB / 482.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.1606, allocations: 11.44 kB / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1606, allocations: 0 / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of Templates: time 0.002357/0.163, allocations: 0.829 MB / 483 MB, free: 2.285 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyratorCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyratorCalcHelperMain.o] Error 1