Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 96.16 kB / 17.63 MB, free: 5.719 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.001258/0.001258, allocations: 179.1 kB / 18.52 MB, free: 5.172 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.514/1.514, allocations: 223.2 MB / 242.5 MB, free: 236 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.238/0.238, allocations: 44.23 MB / 337.9 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 9.281 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 61.91 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002945/0.1552, allocations: 2.053 MB / 474.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.157, allocations: 0.9351 MB / 475.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1571, allocations: 8 kB / 475.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.1574, allocations: 83.61 kB / 475.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.1578, allocations: 83.5 kB / 475.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.159, allocations: 0.5024 MB / 475.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.1593, allocations: 203 kB / 476 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009166/0.1602, allocations: 492.7 kB / 476.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1604, allocations: 79.7 kB / 476.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1605, allocations: 99.61 kB / 476.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.1606, allocations: 12 kB / 476.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.1609, allocations: 135.8 kB / 476.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.1609, allocations: 31.86 kB / 476.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.161, allocations: 57.64 kB / 476.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.1614, allocations: 295.4 kB / 477.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1614, allocations: 3.938 kB / 477.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1614, allocations: 0 / 477.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1614, allocations: 4 kB / 477.2 MB, free: 8.645 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001286/0.1627, allocations: 0.585 MB / 477.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.1628, allocations: 12.03 kB / 477.8 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.1631, allocations: 51.69 kB / 477.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1633, allocations: 190.8 kB / 478.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.1634, allocations: 16.56 kB / 478.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.1635, allocations: 27.95 kB / 478.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.1641, allocations: 299.4 kB / 478.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.1642, allocations: 0 / 478.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.1642, allocations: 12 kB / 478.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.1642, allocations: 4 kB / 478.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.1648, allocations: 249.5 kB / 478.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1663, allocations: 1.009 MB / 479.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.1667, allocations: 387.3 kB / 480 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.167, allocations: 153.6 kB / 480.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.1672, allocations: 85.09 kB / 480.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1672, allocations: 30.56 kB / 480.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.206e-06/0.1672, allocations: 4 kB / 480.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001124/0.1684, allocations: 0.5288 MB / 480.8 MB, free: 4.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.1684, allocations: 85.05 kB / 480.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1686, allocations: 139.8 kB / 481.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1686, allocations: 29.7 kB / 481.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1687, allocations: 140.1 kB / 481.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.1688, allocations: 67 kB / 481.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.1688, allocations: 8 kB / 481.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.169, allocations: 318.8 kB / 481.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1692, allocations: 87.92 kB / 481.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.1694, allocations: 126 kB / 481.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.1696, allocations: 98.91 kB / 481.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1696, allocations: 0 / 481.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005785/0.1702, allocations: 298.8 kB / 482.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1702, allocations: 8.188 kB / 482.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1702, allocations: 4 kB / 482.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.1704, allocations: 53.62 kB / 482.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.1706, allocations: 43.97 kB / 482.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.1724, allocations: 2.643 MB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.1726, allocations: 31.83 kB / 485 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1726, allocations: 4 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.1728, allocations: 145.7 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.1728, allocations: 19.88 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006019/0.1734, allocations: 278.5 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1735, allocations: 7.984 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1735, allocations: 3.953 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1735, allocations: 3.984 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.1745, allocations: 0.6654 MB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1745, allocations: 112 / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.1747, allocations: 47.91 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.1748, allocations: 49.62 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1748, allocations: 64 / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.1765, allocations: 2.647 MB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1766, allocations: 3.953 kB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.1774, allocations: 0.547 MB / 489.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.1775, allocations: 96.88 kB / 489.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1775, allocations: 8 kB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.1777, allocations: 20.05 kB / 489.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.1777, allocations: 19.97 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1777, allocations: 4 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.761e-05/0.1778, allocations: 109.3 kB / 489.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1778, allocations: 0 / 489.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004319/0.1783, allocations: 67.84 kB / 489.7 MB, free: 11.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.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 (15): * Single equations (assignments): 13 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.1785, allocations: 119.2 kB / 489.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006838/0.1792, allocations: 452.1 kB / 490.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1792, allocations: 0 / 490.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.1795, allocations: 329.3 kB / 490.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.1799, allocations: 20.12 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.1808, allocations: 0.5948 MB / 491.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1811, allocations: 0.7477 MB / 492 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.1812, allocations: 15.44 kB / 492 MB, free: 8.699 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1812, allocations: 0 / 492 MB, free: 8.699 MB / 366.1 MB Notification: Performance of Templates: time 0.005694/0.1869, allocations: 4.223 MB / 496.2 MB, free: 4.473 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponentsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponentsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponentsCalcHelperMain.o] Error 1