Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008811/0.000881, allocations: 91.11 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 203.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.621/1.621, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.256/0.256, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.0002931, allocations: 15.98 kB / 418.7 MB, free: 20.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1507, allocations: 63.46 MB / 482.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002883/0.1536, allocations: 2.082 MB / 484.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1551, allocations: 0.7833 MB / 485 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1552, allocations: 4 kB / 485 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.1554, allocations: 39.7 kB / 485 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1557, allocations: 99.36 kB / 485.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.156, allocations: 67.92 kB / 485.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.1564, allocations: 314.8 kB / 485.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1566, allocations: 77.11 kB / 485.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.1569, allocations: 119.5 kB / 485.7 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1571, allocations: 135.4 kB / 485.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.1571, allocations: 16 kB / 485.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.1572, allocations: 23.94 kB / 485.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.1573, allocations: 55.77 kB / 485.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.1573, allocations: 77.52 kB / 486 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1576, allocations: 279.5 kB / 486.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.1577, allocations: 0 / 486.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1577, allocations: 0 / 486.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1577, allocations: 0 / 486.3 MB, free: 1.199 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.001015/0.1587, allocations: 0.5805 MB / 486.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1587, allocations: 12.03 kB / 486.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1589, allocations: 39.61 kB / 486.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1592, allocations: 261.5 kB / 487.2 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1592, allocations: 16.56 kB / 487.2 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.1593, allocations: 24 kB / 487.2 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.1598, allocations: 244.9 kB / 487.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1598, allocations: 4 kB / 487.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.1598, allocations: 11.98 kB / 487.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1598, allocations: 8 kB / 487.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.1603, allocations: 238.1 kB / 487.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.1618, allocations: 0.8909 MB / 488.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.1623, allocations: 314.8 kB / 488.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.1626, allocations: 145.3 kB / 489 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.1627, allocations: 7.938 kB / 489 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.1627, allocations: 46.52 kB / 489.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.323e-06/0.1627, allocations: 3.938 kB / 489.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.004197/0.1669, allocations: 1.266 MB / 490.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.167, allocations: 55.41 kB / 490.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.1672, allocations: 229 kB / 490.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.1673, allocations: 37.7 kB / 490.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1674, allocations: 165.1 kB / 490.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/0.1675, allocations: 106.5 kB / 490.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.1675, allocations: 4 kB / 490.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1677, allocations: 334.8 kB / 491.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1679, allocations: 99.81 kB / 491.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.1682, allocations: 129.8 kB / 491.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.1684, allocations: 114.2 kB / 491.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1684, allocations: 0 / 491.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001619/0.1701, allocations: 0.5609 MB / 492.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1701, allocations: 10.19 kB / 492.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1701, allocations: 4 kB / 492.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.1717, allocations: 315.1 kB / 492.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1719, allocations: 27.98 kB / 492.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007573/0.1794, allocations: 6.339 MB / 498.9 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.1797, allocations: 27.73 kB / 498.9 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.1797, allocations: 12 kB / 498.9 MB, free: 3.688 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.1799, allocations: 145.7 kB / 499 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.18, allocations: 27.78 kB / 499.1 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.1816, allocations: 0.5667 MB / 499.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1817, allocations: 4 kB / 499.6 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.1817, allocations: 0 / 499.6 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1817, allocations: 0 / 499.6 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.1822, allocations: 357.2 kB / 500 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/0.1823, allocations: 3.984 kB / 500 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1824, allocations: 19.98 kB / 0.4883 GB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.1838, allocations: 323.3 kB / 0.4886 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.1838, allocations: 8 kB / 0.4886 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007666/0.1915, allocations: 6.374 MB / 0.4948 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.1915, allocations: 7.984 kB / 0.4948 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.1932, allocations: 0.6231 MB / 0.4954 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.1933, allocations: 100.8 kB / 0.4955 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.1934, allocations: 8 kB / 0.4955 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1936, allocations: 15.98 kB / 0.4956 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.1937, allocations: 39.91 kB / 0.4956 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1937, allocations: 4 kB / 0.4956 GB, free: 10.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.1939, allocations: 174 kB / 0.4958 GB, free: 10.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1939, allocations: 0 / 0.4958 GB, free: 10.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006126/0.1945, allocations: 115.8 kB / 0.4959 GB, free: 10.13 MB / 382.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 (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.1947, allocations: 103.2 kB / 0.496 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.196, allocations: 0.7602 MB / 0.4967 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.196, allocations: 0 / 0.4967 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.1972, allocations: 0.7252 MB / 0.4974 GB, free: 8.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1975, allocations: 28.55 kB / 0.4975 GB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.1987, allocations: 0.6828 MB / 0.4981 GB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.1992, allocations: 0.7755 MB / 0.4989 GB, free: 6.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.1993, allocations: 15.44 kB / 0.4989 GB, free: 6.863 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1993, allocations: 0 / 0.4989 GB, free: 6.863 MB / 382.1 MB Notification: Performance of Templates: time 0.2986/0.4979, allocations: 8.313 MB / 0.507 GB, free: 40.35 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShapeCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShapeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShapeCalcHelperMain.o] Error 1