Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.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.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008921/0.0008921, allocations: 91.36 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.001144/0.001144, allocations: 197.1 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.57/1.57, 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.2586/0.2586, allocations: 45.91 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002613, allocations: 8 kB / 418.7 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 63.46 MB / 482.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002431/0.1386, allocations: 1.591 MB / 483.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009415/0.1396, allocations: 0.5613 MB / 484.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.1397, allocations: 4 kB / 484.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.1398, allocations: 27.8 kB / 484.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.14, allocations: 27.83 kB / 484.3 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.1401, allocations: 35.95 kB / 484.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1403, allocations: 139.4 kB / 484.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1405, allocations: 49.84 kB / 484.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.774e-05/0.1406, allocations: 39.86 kB / 484.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.1407, allocations: 59.7 kB / 484.6 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1407, allocations: 8 kB / 484.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.508e-05/0.1407, allocations: 8 kB / 484.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.1408, allocations: 23.91 kB / 484.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.1408, allocations: 49.64 kB / 484.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.141, allocations: 119.9 kB / 484.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.141, allocations: 4 kB / 484.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.141, allocations: 0 / 484.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.141, allocations: 0 / 484.8 MB, free: 2.672 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006267/0.1416, allocations: 423.2 kB / 485.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1417, allocations: 8.031 kB / 485.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.1417, allocations: 19.81 kB / 485.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.142, allocations: 202.8 kB / 485.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.142, allocations: 12.28 kB / 485.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.142, allocations: 12 kB / 485.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.1424, allocations: 144.7 kB / 485.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1424, allocations: 0 / 485.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1424, allocations: 7.938 kB / 485.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1424, allocations: 4 kB / 485.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.1427, allocations: 120.8 kB / 485.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009956/0.1437, allocations: 0.6147 MB / 486.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.144, allocations: 82.55 kB / 486.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.1441, allocations: 32.97 kB / 486.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1441, allocations: 0 / 486.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1441, allocations: 34.56 kB / 486.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.1441, allocations: 0 / 486.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003799/0.1445, allocations: 129.4 kB / 486.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1446, allocations: 59.41 kB / 486.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1447, allocations: 150 kB / 486.9 MB, free: 440 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.1448, allocations: 29.7 kB / 486.9 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.1449, allocations: 131.5 kB / 487 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.1449, allocations: 23.69 kB / 487.1 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.1449, allocations: 0 / 487.1 MB, free: 244 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1451, allocations: 318.8 kB / 487.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/0.1452, allocations: 43.97 kB / 487.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1453, allocations: 64.27 kB / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1454, allocations: 35.98 kB / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.1454, allocations: 4 kB / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002919/0.1457, allocations: 141.5 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1457, allocations: 8 kB / 487.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1457, allocations: 0 / 487.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1458, allocations: 0 / 487.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1459, allocations: 39.81 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1459, allocations: 4.25 kB / 487.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.755e-05/0.146, allocations: 19.83 kB / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.146, allocations: 16.03 kB / 487.7 MB, free: 15.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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.0001056/0.1461, allocations: 113.8 kB / 487.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.1462, allocations: 11.91 kB / 487.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.1462, allocations: 12.31 kB / 487.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1462, allocations: 0 / 487.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1462, allocations: 7.938 kB / 487.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1463, allocations: 0 / 487.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.1465, allocations: 201.6 kB / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1465, allocations: 4 kB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.67e-05/0.1466, allocations: 23.92 kB / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1466, allocations: 0 / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1466, allocations: 0 / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1466, allocations: 4 kB / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1466, allocations: 3.984 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.1469, allocations: 199.4 kB / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.147, allocations: 84.92 kB / 488.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.147, allocations: 8 kB / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.1471, allocations: 7.984 kB / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.1471, allocations: 4 kB / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.1471, allocations: 0 / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.599e-05/0.1472, allocations: 122.8 kB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1472, allocations: 0 / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1475, allocations: 27.89 kB / 488.6 MB, free: 14.62 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 (5): * Single equations (assignments): 5 * 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.0001144/0.1476, allocations: 95.72 kB / 488.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.1479, allocations: 83.95 kB / 488.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1479, allocations: 0 / 488.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.256e-05/0.148, allocations: 35.97 kB / 488.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.1482, allocations: 7.938 kB / 488.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.1488, allocations: 363.7 kB / 489.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1491, allocations: 0.7119 MB / 489.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.1492, allocations: 11.44 kB / 489.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1492, allocations: 0 / 489.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of Templates: time 0.00293/0.1521, allocations: 1.254 MB / 491.1 MB, free: 12 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.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.SensorsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.SensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.SensorsCalcHelperMain.o] Error 1