Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008838/0.0008837, allocations: 92.34 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009731/0.0009731, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2846/0.2846, allocations: 45.92 MB / 344.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002851, allocations: 8 kB / 418.7 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 63.46 MB / 482.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003016/0.1375, allocations: 2.607 MB / 484.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006766/0.1382, allocations: 418.5 kB / 485.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1383, allocations: 8 kB / 485.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.892e-05/0.1384, allocations: 39.62 kB / 485.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.1387, allocations: 146.8 kB / 485.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.1389, allocations: 75.92 kB / 485.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.1394, allocations: 0.5091 MB / 485.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.1396, allocations: 125.1 kB / 486 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1398, allocations: 167.4 kB / 486.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.14, allocations: 191.2 kB / 486.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.1401, allocations: 24 kB / 486.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-05/0.1402, allocations: 24 kB / 486.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.1402, allocations: 75.69 kB / 486.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1403, allocations: 113.5 kB / 486.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.1407, allocations: 387.1 kB / 487 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1407, allocations: 0 / 487 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1407, allocations: 8 kB / 487 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.1407, allocations: 0 / 487 MB, free: 0.5391 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008733/0.1416, allocations: 0.6355 MB / 487.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1417, allocations: 8.031 kB / 487.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.396e-05/0.1418, allocations: 55.44 kB / 487.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.1421, allocations: 298.1 kB / 488 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.1422, allocations: 29 kB / 488 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.908e-05/0.1423, allocations: 59.89 kB / 488.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.1429, allocations: 450.1 kB / 488.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.143, allocations: 15.88 kB / 488.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.143, allocations: 20 kB / 488.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.143, allocations: 15.95 kB / 488.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.1435, allocations: 263.6 kB / 488.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.1458, allocations: 1.691 MB / 490.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.1464, allocations: 423.3 kB / 490.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.1466, allocations: 155.7 kB / 491.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1467, allocations: 4.547 kB / 491.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.1467, allocations: 46.5 kB / 491.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.245e-06/0.1467, allocations: 4 kB / 491.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.000754/0.1475, allocations: 349.8 kB / 491.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.1476, allocations: 277 kB / 491.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1479, allocations: 250.8 kB / 492 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.148, allocations: 29.7 kB / 492 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1481, allocations: 240.1 kB / 492.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.1483, allocations: 189.4 kB / 492.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.1483, allocations: 16 kB / 492.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1485, allocations: 346.8 kB / 492.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.1487, allocations: 110 kB / 492.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.1492, allocations: 413.6 kB / 493.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.1495, allocations: 191.8 kB / 493.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.1495, allocations: 4 kB / 493.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009506/0.1505, allocations: 0.571 MB / 494.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.1505, allocations: 8 kB / 494.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.1506, allocations: 12 kB / 494.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/0.1506, allocations: 12 kB / 494.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.1512, allocations: 184.3 kB / 494.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/0.1512, allocations: 19.92 kB / 494.3 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.1515, allocations: 67.38 kB / 494.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.1515, allocations: 35.94 kB / 494.4 MB, free: 8.566 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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): 86 * 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.000221/0.1518, allocations: 177.6 kB / 494.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.152, allocations: 43.58 kB / 494.6 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.558e-05/0.1521, allocations: 37.7 kB / 494.6 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.1521, allocations: 8.625 kB / 494.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.1521, allocations: 4 kB / 494.7 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.1521, allocations: 3.984 kB / 494.7 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.1531, allocations: 425.1 kB / 495.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1531, allocations: 4 kB / 495.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/0.1537, allocations: 131.8 kB / 495.2 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.1537, allocations: 4 kB / 495.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.1538, allocations: 15.95 kB / 495.2 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.1538, allocations: 4 kB / 495.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1538, allocations: 0 / 495.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009715/0.1547, allocations: 1.079 MB / 496.3 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.942e-05/0.1549, allocations: 108.7 kB / 496.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.1549, allocations: 16 kB / 496.4 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.1553, allocations: 15.95 kB / 496.5 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.1554, allocations: 27.95 kB / 496.5 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.1554, allocations: 23.92 kB / 496.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.1556, allocations: 166 kB / 496.7 MB, free: 6.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1556, allocations: 0 / 496.7 MB, free: 6.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008172/0.1564, allocations: 135.7 kB / 496.8 MB, free: 6.062 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0001573/0.1565, allocations: 116.3 kB / 496.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000602/0.1572, allocations: 337.8 kB / 497.2 MB, free: 5.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.1572, allocations: 4 kB / 497.2 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1573, allocations: 124.5 kB / 497.4 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.1585, allocations: 90.58 kB / 497.5 MB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.1617, allocations: 2.477 MB / 499.9 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.1622, allocations: 0.828 MB / 0.489 GB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.1623, allocations: 35.44 kB / 0.4891 GB, free: 1.973 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1623, allocations: 4 kB / 0.4891 GB, free: 1.969 MB / 366.1 MB Notification: Performance of Templates: time 0.008687/0.171, allocations: 4.923 MB / 0.4939 GB, free: 13.05 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.InertiaCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.InertiaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.InertiaCalcHelperMain.o] Error 1