Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008999/0.0009, allocations: 95.3 kB / 16.95 MB, free: 5.953 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.0008275/0.0008275, allocations: 177.7 kB / 17.84 MB, free: 5.617 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.505/1.505, allocations: 223.3 MB / 241.9 MB, free: 252 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004301, allocations: 4.688 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1254, allocations: 50.42 MB / 351.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002252/0.1277, allocations: 1.543 MB / 353.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.1285, allocations: 427.2 kB / 353.8 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.1286, allocations: 4 kB / 353.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.048e-05/0.1287, allocations: 7.922 kB / 353.8 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.449e-05/0.1287, allocations: 23.78 kB / 353.9 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.1289, allocations: 15.98 kB / 353.9 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.129, allocations: 99.62 kB / 354 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1292, allocations: 29.58 kB / 354 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.1293, allocations: 35.86 kB / 354 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.1293, allocations: 35.78 kB / 354.1 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1294, allocations: 4 kB / 354.1 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.1294, allocations: 4 kB / 354.1 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.1294, allocations: 15.92 kB / 354.1 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1295, allocations: 41.69 kB / 354.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.1296, allocations: 64.09 kB / 354.2 MB, free: 1.672 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1296, allocations: 3.938 kB / 354.2 MB, free: 1.668 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1296, allocations: 4 kB / 354.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1296, allocations: 4 kB / 354.2 MB, free: 1.66 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005762/0.1302, allocations: 399.1 kB / 354.6 MB, free: 1.223 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1302, allocations: 8.031 kB / 354.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.1303, allocations: 11.86 kB / 354.6 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1306, allocations: 191 kB / 354.8 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1306, allocations: 20.12 kB / 354.8 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.1306, allocations: 11.84 kB / 354.8 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.131, allocations: 127.7 kB / 355 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.131, allocations: 0 / 355 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.131, allocations: 4 kB / 355 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.131, allocations: 7.953 kB / 355 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.1313, allocations: 83.94 kB / 355 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.132, allocations: 0.5285 MB / 355.6 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1322, allocations: 74.61 kB / 355.6 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1324, allocations: 48.83 kB / 355.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1324, allocations: 0 / 355.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1324, allocations: 34.56 kB / 355.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1324, allocations: 0 / 355.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004072/0.1328, allocations: 149.6 kB / 355.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1329, allocations: 51.41 kB / 355.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.133, allocations: 121.2 kB / 356 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.133, allocations: 29.7 kB / 356.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1332, allocations: 119.8 kB / 356.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.1332, allocations: 23.66 kB / 356.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.1332, allocations: 4 kB / 356.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1333, allocations: 318.8 kB / 356.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1335, allocations: 39.97 kB / 356.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1336, allocations: 72.27 kB / 356.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1337, allocations: 43.92 kB / 356.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1337, allocations: 4 kB / 356.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002809/0.134, allocations: 141.4 kB / 356.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.134, allocations: 4.094 kB / 356.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.134, allocations: 7.938 kB / 356.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.134, allocations: 4.125 kB / 356.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.1342, allocations: 39.94 kB / 356.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1342, allocations: 4.25 kB / 356.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.1343, allocations: 19.83 kB / 356.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1343, allocations: 4 kB / 356.9 MB, free: 14.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.1344, allocations: 121.8 kB / 357 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1345, allocations: 7.906 kB / 357 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.1345, allocations: 16.36 kB / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1345, allocations: 3.938 kB / 357.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1345, allocations: 3.953 kB / 357.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1346, allocations: 0 / 357.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.1348, allocations: 193.8 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1348, allocations: 3.984 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.1349, allocations: 23.98 kB / 357.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1349, allocations: 0 / 357.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1349, allocations: 7.938 kB / 357.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.135, allocations: 7.984 kB / 357.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.135, allocations: 0 / 357.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.1354, allocations: 247.3 kB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.1354, allocations: 85.02 kB / 357.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1355, allocations: 0 / 357.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.1356, allocations: 16.03 kB / 357.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.1356, allocations: 8.078 kB / 357.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1356, allocations: 4 kB / 357.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.018e-05/0.1357, allocations: 95.27 kB / 357.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1357, allocations: 4 kB / 357.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1359, allocations: 27.89 kB / 357.8 MB, free: 13.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * 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 (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.0001124/0.136, allocations: 103.2 kB / 357.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.1363, allocations: 96.06 kB / 358 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1363, allocations: 0 / 358 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.962e-05/0.1364, allocations: 35.97 kB / 358 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1368, allocations: 26.3 kB / 358 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/0.1375, allocations: 464.9 kB / 358.5 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1379, allocations: 0.7082 MB / 359.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.1379, allocations: 11.62 kB / 359.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1379, allocations: 0 / 359.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002841/0.1408, allocations: 1.255 MB / 360.4 MB, free: 11 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.Clocked.Examples.SimpleControlledDrive.ContinuousCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ContinuousCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ContinuousCalcHelperMain.o] Error 1