Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 91.17 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002196/0.002196, allocations: 197.1 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.000373, allocations: 8 kB / 307.3 MB, free: 1.375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1745, allocations: 51.49 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005676/0.1803, allocations: 3.674 MB / 362.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.1841, allocations: 1.577 MB / 364.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.1844, allocations: 12 kB / 364.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005675/0.185, allocations: 167.2 kB / 364.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007098/0.1857, allocations: 214.7 kB / 364.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.1873, allocations: 0.6229 MB / 365.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000805/0.1882, allocations: 0.5945 MB / 365.7 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.1899, allocations: 0.8413 MB / 366.5 MB, free: 6.137 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005199/0.1904, allocations: 235.1 kB / 366.7 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004129/0.1908, allocations: 302.8 kB / 367 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.1909, allocations: 28 kB / 367.1 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007754/0.1917, allocations: 251.7 kB / 367.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1918, allocations: 103.5 kB / 367.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.192, allocations: 133.4 kB / 367.5 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000976/0.193, allocations: 0.7247 MB / 368.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.193, allocations: 0 / 368.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.257e-06/0.193, allocations: 0 / 368.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.193, allocations: 0 / 368.3 MB, free: 4.371 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003771/0.1968, allocations: 1.171 MB / 369.4 MB, free: 3.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1969, allocations: 12.03 kB / 369.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.1982, allocations: 207.1 kB / 369.6 MB, free: 2.934 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.1986, allocations: 245.4 kB / 369.9 MB, free: 2.656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-05/0.1987, allocations: 50 kB / 369.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.1988, allocations: 76 kB / 370 MB, free: 2.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.2004, allocations: 0.7698 MB / 370.8 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.2004, allocations: 7.891 kB / 370.8 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.2005, allocations: 32 kB / 370.8 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.2005, allocations: 20 kB / 370.8 MB, free: 1.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.2019, allocations: 0.6805 MB / 371.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2883/0.4903, allocations: 3.268 MB / 374.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.4928, allocations: 2.093 MB / 376.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.4934, allocations: 328.3 kB / 377.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.4936, allocations: 182.5 kB / 377.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.4936, allocations: 40.25 kB / 377.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.986e-06/0.4936, allocations: 0 / 377.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002683/0.4963, allocations: 1.172 MB / 378.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.4964, allocations: 116.7 kB / 378.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.4967, allocations: 267.1 kB / 379 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.4967, allocations: 40.45 kB / 379 MB, free: 14.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.4969, allocations: 299.6 kB / 379.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.4971, allocations: 243.5 kB / 379.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.4971, allocations: 16.12 kB / 379.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.4972, allocations: 350 kB / 379.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.4977, allocations: 243.5 kB / 380.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/0.4983, allocations: 392.6 kB / 380.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.4989, allocations: 293 kB / 380.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.4989, allocations: 1.375 kB / 380.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0015/0.5004, allocations: 0.8451 MB / 381.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.5004, allocations: 9.938 kB / 381.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5004, allocations: 2.812 kB / 381.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/0.5008, allocations: 125.9 kB / 381.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.5015, allocations: 167.8 kB / 381.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.504, allocations: 3.417 MB / 385.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.5045, allocations: 94.58 kB / 385.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.5045, allocations: 28.94 kB / 385.5 MB, free: 9.773 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.5048, allocations: 204.4 kB / 385.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.5049, allocations: 45.66 kB / 385.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.5064, allocations: 0.7623 MB / 386.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.5064, allocations: 7.672 kB / 386.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5065, allocations: 5.781 kB / 386.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.5065, allocations: 9.703 kB / 386.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.509, allocations: 1.51 MB / 388 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.509, allocations: 0 / 388 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.5095, allocations: 120.6 kB / 388.1 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002903/0.5098, allocations: 111.9 kB / 388.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.5098, allocations: 15.02 kB / 388.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.5119, allocations: 3.11 MB / 391.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.512, allocations: 0.9062 kB / 391.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.5139, allocations: 1.145 MB / 392.5 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.514, allocations: 131.7 kB / 392.6 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.5141, allocations: 11.41 kB / 392.7 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.5144, allocations: 39.98 kB / 392.7 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.5146, allocations: 48.95 kB / 392.7 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.5146, allocations: 19.55 kB / 392.8 MB, free: 4.691 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.5148, allocations: 193 kB / 392.9 MB, free: 4.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5149, allocations: 0 / 392.9 MB, free: 4.578 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009731/0.5158, allocations: 222.3 kB / 393.2 MB, free: 4.523 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002874/0.5161, allocations: 153.3 kB / 393.3 MB, free: 4.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.5178, allocations: 0.9028 MB / 394.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5178, allocations: 0 / 394.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008007/0.5186, allocations: 0.5716 MB / 394.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.5191, allocations: 40.45 kB / 394.8 MB, free: 3.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.5213, allocations: 1.406 MB / 396.2 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.5217, allocations: 0.8683 MB / 397.1 MB, free: 1.992 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.5219, allocations: 53.55 kB / 397.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5219, allocations: 0 / 397.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of Templates: time 0.01521/0.5371, allocations: 11.48 MB / 408.6 MB, free: 11.18 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.o] Error 1