Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.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) 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(Modelica.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder") translateModel(Modelica.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 94.34 kB / 16.95 MB, free: 5.617 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.001665/0.001665, allocations: 184.2 kB / 17.85 MB, free: 5.285 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.473/1.473, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 9.5 kB / 301.5 MB, free: 6.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 50.41 MB / 351.9 MB, free: 4.059 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.003077/0.1273, allocations: 1.82 MB / 353.7 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1289, allocations: 0.6392 MB / 354.3 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.1292, allocations: 7.938 kB / 354.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1295, allocations: 27.72 kB / 354.4 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1298, allocations: 35.72 kB / 354.4 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.1302, allocations: 79.83 kB / 354.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.1305, allocations: 203.8 kB / 354.7 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.1308, allocations: 80.73 kB / 354.7 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.131, allocations: 63.66 kB / 354.8 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.1313, allocations: 87.55 kB / 354.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.1313, allocations: 8 kB / 354.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.1314, allocations: 19.92 kB / 354.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.1315, allocations: 43.77 kB / 355 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.1316, allocations: 57.58 kB / 355 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1318, allocations: 155.9 kB / 355.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1318, allocations: 0 / 355.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1318, allocations: 0 / 355.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1319, allocations: 4 kB / 355.2 MB, free: 0.7148 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008974/0.1328, allocations: 0.5105 MB / 355.7 MB, free: 160 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1328, allocations: 8.031 kB / 355.7 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.249e-05/0.1329, allocations: 39.58 kB / 355.7 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1332, allocations: 242.6 kB / 356 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.1333, allocations: 12.44 kB / 356 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.1333, allocations: 24 kB / 356 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.1339, allocations: 258.7 kB / 356.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1339, allocations: 0 / 356.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.1339, allocations: 12 kB / 356.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.134, allocations: 12.42 kB / 356.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.1344, allocations: 209.5 kB / 356.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.1357, allocations: 0.8265 MB / 357.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.1361, allocations: 187 kB / 357.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.1363, allocations: 117.2 kB / 357.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1364, allocations: 93.2 kB / 357.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1365, allocations: 38.69 kB / 357.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.1365, allocations: 0 / 357.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001704/0.1382, allocations: 0.7483 MB / 358.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.1383, allocations: 59.34 kB / 358.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.1386, allocations: 217 kB / 358.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.1386, allocations: 29.7 kB / 358.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1388, allocations: 148.4 kB / 358.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1389, allocations: 78.81 kB / 359 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.1389, allocations: 8 kB / 359 MB, free: 12.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1391, allocations: 330.8 kB / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.1393, allocations: 83.95 kB / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.1396, allocations: 127.4 kB / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.1398, allocations: 97.28 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1399, allocations: 4 kB / 359.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006265/0.1405, allocations: 295.3 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1405, allocations: 4 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.1405, allocations: 4 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1406, allocations: 4.062 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.1409, allocations: 59.95 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.1409, allocations: 3.938 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1411, allocations: 19.98 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.1411, allocations: 12 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001883/0.1413, allocations: 133.8 kB / 360.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.1414, allocations: 23.67 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006664/0.1421, allocations: 316.1 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.1421, allocations: 8 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.1421, allocations: 0 / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.1421, allocations: 7.984 kB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.1434, allocations: 0.6826 MB / 361.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1434, allocations: 8.031 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.1437, allocations: 63.89 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1437, allocations: 0 / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.1438, allocations: 8 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1438, allocations: 3.938 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1438, allocations: 0 / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.1446, allocations: 0.5003 MB / 361.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1447, allocations: 112.9 kB / 361.9 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.1448, allocations: 4 kB / 361.9 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1449, allocations: 23.98 kB / 361.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.145, allocations: 19.97 kB / 361.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.145, allocations: 4 kB / 361.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1452, allocations: 156.5 kB / 362.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1452, allocations: 3.938 kB / 362.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.1455, allocations: 43.98 kB / 362.1 MB, free: 9.324 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (cosB.phi,cosBminus.phi,sinA.phi,sinAminus.phi,der1.u) * 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 (28): * Single equations (assignments): 28 * 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.0001991/0.1457, allocations: 111.2 kB / 362.3 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005034/0.1463, allocations: 228.5 kB / 362.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1463, allocations: 0 / 362.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.1465, allocations: 128 kB / 362.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1469, allocations: 28.39 kB / 362.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.1482, allocations: 0.8592 MB / 363.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.1487, allocations: 0.7681 MB / 364.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.1488, allocations: 23.44 kB / 364.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1488, allocations: 0 / 364.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of Templates: time 0.007435/0.1563, allocations: 2.806 MB / 367.1 MB, free: 4.305 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.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_4.0.0_Modelica.Blocks.Examples.SinCosEncoderCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoderCalcHelperMain.o] Error 1