Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.000957, allocations: 97.7 kB / 17.96 MB, free: 5.633 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.00139/0.001391, allocations: 176.3 kB / 18.86 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 225 MB, free: 12.97 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00053/0.0005303, allocations: 16 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1452, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002688/0.1479, allocations: 1.212 MB / 330.8 MB, free: 2.539 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1493, allocations: 0.5308 MB / 331.3 MB, free: 2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.1494, allocations: 7.938 kB / 331.3 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.1495, allocations: 7.984 kB / 331.4 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.1497, allocations: 7.938 kB / 331.4 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.1499, allocations: 31.92 kB / 331.4 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.15, allocations: 59.83 kB / 331.5 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1502, allocations: 16 kB / 331.5 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.1504, allocations: 19.92 kB / 331.5 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.1505, allocations: 31.84 kB / 331.5 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1506, allocations: 0 / 331.5 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.02e-05/0.1507, allocations: 12 kB / 331.5 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.1507, allocations: 15.91 kB / 331.5 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.389e-05/0.1508, allocations: 41.58 kB / 331.6 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1511, allocations: 51.84 kB / 331.6 MB, free: 1.695 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1511, allocations: 3.938 kB / 331.6 MB, free: 1.691 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1512, allocations: 4 kB / 331.6 MB, free: 1.688 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1512, allocations: 4 kB / 331.6 MB, free: 1.684 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001102/0.1523, allocations: 375.7 kB / 332 MB, free: 1.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.1524, allocations: 12.02 kB / 332 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.1524, allocations: 12.84 kB / 332 MB, free: 1.246 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.1526, allocations: 172.2 kB / 332.2 MB, free: 1.039 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.1527, allocations: 384 / 332.2 MB, free: 1.039 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-05/0.1528, allocations: 8.375 kB / 332.2 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.1532, allocations: 97.89 kB / 332.3 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1533, allocations: 4 kB / 332.3 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1533, allocations: 8 kB / 332.3 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1533, allocations: 0 / 332.3 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.1538, allocations: 107.9 kB / 332.4 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.1544, allocations: 312.6 kB / 332.7 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.1547, allocations: 82.53 kB / 332.8 MB, free: 376 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.1549, allocations: 56.94 kB / 332.9 MB, free: 316 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1549, allocations: 4 kB / 332.9 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1549, allocations: 30.56 kB / 332.9 MB, free: 272 kB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.1549, allocations: 4 kB / 332.9 MB, free: 268 kB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006981/0.1556, allocations: 181.6 kB / 333.1 MB, free: 80 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.1557, allocations: 55.41 kB / 333.1 MB, free: 12 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1559, allocations: 114.1 kB / 333.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/0.156, allocations: 25.7 kB / 333.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.156, allocations: 88.05 kB / 333.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.1561, allocations: 19.83 kB / 333.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1561, allocations: 17.66 kB / 333.4 MB, free: 15.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.1564, allocations: 318.8 kB / 333.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.1567, allocations: 51.95 kB / 333.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.1569, allocations: 39.97 kB / 333.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.1573, allocations: 108.8 kB / 333.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1574, allocations: 0 / 333.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006233/0.158, allocations: 141.5 kB / 334 MB, free: 15.06 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.158, allocations: 4 kB / 334 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1581, allocations: 4 kB / 334.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.1581, allocations: 3.984 kB / 334.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.1583, allocations: 19.98 kB / 334.1 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1583, allocations: 0 / 334.1 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1584, allocations: 23.92 kB / 334.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1585, allocations: 4 kB / 334.1 MB, free: 15 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.1586, allocations: 113.8 kB / 334.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.1587, allocations: 7.984 kB / 334.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005968/0.1593, allocations: 161.4 kB / 334.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1593, allocations: 0 / 334.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1593, allocations: 0 / 334.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.1594, allocations: 4 kB / 334.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.1597, allocations: 190 kB / 334.6 MB, free: 14.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1597, allocations: 0 / 334.6 MB, free: 14.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1599, allocations: 23.98 kB / 334.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1599, allocations: 4 kB / 334.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1599, allocations: 4 kB / 334.6 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1599, allocations: 0 / 334.6 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1599, allocations: 0 / 334.6 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.1605, allocations: 251.3 kB / 334.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.1606, allocations: 81.02 kB / 334.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1606, allocations: 0 / 334.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1608, allocations: 23.97 kB / 334.9 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.1609, allocations: 4 kB / 335 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1609, allocations: 4 kB / 335 MB, free: 14.05 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.145e-05/0.161, allocations: 95.2 kB / 335 MB, free: 13.96 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.264e-06/0.161, allocations: 0 / 335 MB, free: 13.96 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.1614, allocations: 19.88 kB / 335.1 MB, free: 13.94 MB / 286.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002143/0.1616, allocations: 95.25 kB / 335.2 MB, free: 13.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000568/0.1622, allocations: 111.8 kB / 335.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1622, allocations: 0 / 335.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.1624, allocations: 63.95 kB / 335.3 MB, free: 13.66 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.1629, allocations: 8 kB / 335.3 MB, free: 13.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.1635, allocations: 216.5 kB / 335.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.1643, allocations: 0.6965 MB / 336.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.1643, allocations: 11.44 kB / 336.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1644, allocations: 0 / 336.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of Templates: time 0.003983/0.1683, allocations: 0.9569 MB / 337.2 MB, free: 11.73 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlockCalcHelperMain.o OMCppModelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlockCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlockCalcHelperMain.o] Error 1