Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008052/0.0008058, allocations: 94.27 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009326/0.0009326, allocations: 195.8 kB / 18.54 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2343/0.2343, allocations: 45.92 MB / 344.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002956, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1433, allocations: 63.46 MB / 482.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.001936/0.1453, allocations: 1.416 MB / 483.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002349/0.1456, allocations: 83.73 kB / 483.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.1456, allocations: 0 / 483.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.1457, allocations: 15.86 kB / 483.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.916e-05/0.1458, allocations: 15.84 kB / 483.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.615e-05/0.1459, allocations: 19.98 kB / 483.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.146, allocations: 103.6 kB / 483.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1462, allocations: 39.95 kB / 483.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.519e-05/0.1463, allocations: 35.84 kB / 483.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.1464, allocations: 39.84 kB / 483.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1464, allocations: 8 kB / 483.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.1464, allocations: 4 kB / 483.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.1464, allocations: 19.92 kB / 483.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.1465, allocations: 41.64 kB / 483.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.1466, allocations: 84.03 kB / 484 MB, free: 3.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1466, allocations: 3.984 kB / 484 MB, free: 3.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1466, allocations: 0 / 484 MB, free: 3.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1466, allocations: 0 / 484 MB, free: 3.477 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005517/0.1472, allocations: 415 kB / 484.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1472, allocations: 8.031 kB / 484.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.1473, allocations: 7.906 kB / 484.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1474, allocations: 178.8 kB / 484.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1474, allocations: 12 kB / 484.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.1475, allocations: 12 kB / 484.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.1479, allocations: 129.4 kB / 484.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.1479, allocations: 0 / 484.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.148, allocations: 8 kB / 484.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.148, allocations: 0 / 484.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.1485, allocations: 135.4 kB / 484.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009528/0.1494, allocations: 483.3 kB / 485.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.1498, allocations: 94.47 kB / 485.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.1501, allocations: 72.94 kB / 485.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1501, allocations: 3.984 kB / 485.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1501, allocations: 38.56 kB / 485.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1501, allocations: 0 / 485.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001057/0.1512, allocations: 299.4 kB / 485.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.1513, allocations: 55.41 kB / 485.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1514, allocations: 121.7 kB / 486.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1514, allocations: 37.62 kB / 486.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.1515, allocations: 112.1 kB / 486.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.1516, allocations: 11.72 kB / 486.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.1516, allocations: 4 kB / 486.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1517, allocations: 318.8 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.1519, allocations: 47.97 kB / 486.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.1522, allocations: 66.53 kB / 486.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.1524, allocations: 55.91 kB / 486.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1524, allocations: 0 / 486.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005396/0.153, allocations: 158.4 kB / 486.9 MB, free: 404 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.153, allocations: 7.984 kB / 486.9 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.153, allocations: 4 kB / 486.9 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.1532, allocations: 25.19 kB / 486.9 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1534, allocations: 27.97 kB / 486.9 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.1546, allocations: 1.308 MB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.1548, allocations: 27.91 kB / 488.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1548, allocations: 0 / 488.2 MB, free: 14.86 MB / 366.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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.1549, allocations: 114.4 kB / 488.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.155, allocations: 8.062 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.155, allocations: 12.38 kB / 488.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.155, allocations: 7.953 kB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1551, allocations: 0 / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1551, allocations: 3.938 kB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008614/0.1559, allocations: 452 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.156, allocations: 4.125 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.1561, allocations: 24.02 kB / 488.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-05/0.1562, allocations: 24.83 kB / 488.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1562, allocations: 0 / 488.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.1573, allocations: 1.3 MB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1574, allocations: 4.062 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005812/0.1579, allocations: 269.1 kB / 490.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.158, allocations: 89.02 kB / 490.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1581, allocations: 0 / 490.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1582, allocations: 19.98 kB / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.1583, allocations: 7.984 kB / 490.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1583, allocations: 0 / 490.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.919e-05/0.1584, allocations: 107.2 kB / 490.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1584, allocations: 0 / 490.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000415/0.1588, allocations: 20 kB / 490.7 MB, free: 12.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 3 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001402/0.159, allocations: 103.2 kB / 490.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006669/0.1597, allocations: 222.6 kB / 491 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1597, allocations: 0 / 491 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.16, allocations: 174.7 kB / 491.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.1605, allocations: 6.75 kB / 491.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.1611, allocations: 288.5 kB / 491.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1614, allocations: 0.6926 MB / 492.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.1615, allocations: 11.44 kB / 492.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1615, allocations: 0 / 492.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of Templates: time 0.00412/0.1656, allocations: 1.594 MB / 493.8 MB, free: 8.996 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.Magnetic.FluxTubes.VariableComponentsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponentsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponentsCalcHelperMain.o] Error 1