Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007617/0.0007617, allocations: 84.22 kB / 17.58 MB, free: 5.758 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.0008102/0.0008105, allocations: 183 kB / 18.48 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0006543/0.0006546, allocations: 12 kB / 281.4 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1086, allocations: 47.59 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.00116/0.1098, allocations: 0.9025 MB / 329.9 MB, free: 3.176 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.1126, allocations: 1.861 MB / 331.7 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.1127, allocations: 3.938 kB / 331.7 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.1127, allocations: 0 / 331.7 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008965/0.1136, allocations: 323.3 kB / 332.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.22e-05/0.1136, allocations: 4 kB / 332.1 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 3.949e-05/0.1137, allocations: 11.92 kB / 332.1 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.1137, allocations: 0 / 332.1 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.1138, allocations: 7.938 kB / 332.1 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1139, allocations: 10.66 kB / 332.1 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.926e-06/0.1139, allocations: 7.938 kB / 332.1 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.1144, allocations: 399.6 kB / 332.5 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.1144, allocations: 3.938 kB / 332.5 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.1144, allocations: 25.7 kB / 332.5 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.1147, allocations: 219.6 kB / 332.7 MB, free: 312 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1147, allocations: 0 / 332.7 MB, free: 312 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1148, allocations: 0 / 332.7 MB, free: 312 kB / 270.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1148, allocations: 0 / 332.7 MB, free: 312 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003442/0.1151, allocations: 399.3 kB / 333.1 MB, free: 15.87 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1151, allocations: 8.031 kB / 333.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.1152, allocations: 83.19 kB / 333.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1153, allocations: 246.6 kB / 333.5 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.1154, allocations: 158.5 kB / 333.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.1154, allocations: 150.6 kB / 333.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.3e-05/0.1155, allocations: 104.9 kB / 333.9 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.1155, allocations: 79.28 kB / 333.9 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.1156, allocations: 154.6 kB / 334.1 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.367e-05/0.1156, allocations: 154.5 kB / 334.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.1157, allocations: 150.6 kB / 334.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.1159, allocations: 453.9 kB / 334.8 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.125e-05/0.116, allocations: 173.1 kB / 335 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.116, allocations: 84.09 kB / 335.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1161, allocations: 75.28 kB / 335.1 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.1162, allocations: 47.41 kB / 335.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.1162, allocations: 3.938 kB / 335.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001051/0.1163, allocations: 37.64 kB / 335.2 MB, free: 13.61 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.1163, allocations: 55.41 kB / 335.3 MB, free: 13.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.1164, allocations: 101.8 kB / 335.4 MB, free: 13.44 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1164, allocations: 25.7 kB / 335.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.1165, allocations: 80.14 kB / 335.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.1165, allocations: 7.984 kB / 335.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-06/0.1165, allocations: 0 / 335.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.1166, allocations: 314.8 kB / 335.8 MB, free: 13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.1166, allocations: 8.109 kB / 335.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-06/0.1166, allocations: 0 / 335.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.429e-05/0.1166, allocations: 4 kB / 335.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1167, allocations: 0 / 335.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.841e-05/0.1167, allocations: 41.5 kB / 335.9 MB, free: 12.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.1167, allocations: 4 kB / 335.9 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1167, allocations: 0 / 335.9 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.004e-06/0.1167, allocations: 7.938 kB / 335.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.179e-05/0.1168, allocations: 0 / 335.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.1168, allocations: 4.094 kB / 335.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.231e-05/0.1168, allocations: 0 / 335.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.1168, allocations: 0 / 335.9 MB, free: 12.93 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.21e-05/0.1169, allocations: 117.8 kB / 336 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.1169, allocations: 3.953 kB / 336 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.1169, allocations: 7.078 kB / 336 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1169, allocations: 0 / 336 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1169, allocations: 0 / 336 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1169, allocations: 0 / 336 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.658e-05/0.117, allocations: 153.7 kB / 336.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.117, allocations: 0 / 336.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-06/0.1171, allocations: 0 / 336.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1171, allocations: 0 / 336.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1171, allocations: 7.953 kB / 336.2 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1171, allocations: 0 / 336.2 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1171, allocations: 0 / 336.2 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.972e-05/0.1171, allocations: 61.06 kB / 336.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.1172, allocations: 85.14 kB / 336.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.1172, allocations: 0 / 336.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.334e-05/0.1172, allocations: 3.953 kB / 336.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.1172, allocations: 7.984 kB / 336.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.1172, allocations: 0 / 336.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.703e-05/0.1173, allocations: 79.28 kB / 336.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1173, allocations: 0 / 336.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.1176, allocations: 139.8 kB / 336.5 MB, free: 12.17 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0008122/0.1185, allocations: 465.4 kB / 337 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.784e-05/0.1186, allocations: 4 kB / 337 MB, free: 11.72 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1186, allocations: 0 / 337 MB, free: 11.72 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.916e-06/0.1186, allocations: 7.938 kB / 337 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1187, allocations: 0 / 337 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.119, allocations: 142.4 kB / 337.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1192, allocations: 0.6809 MB / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.1193, allocations: 11.44 kB / 337.8 MB, free: 10.82 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1193, allocations: 0 / 337.8 MB, free: 10.82 MB / 286.1 MB Notification: Performance of Templates: time 0.005799/0.1251, allocations: 3.077 MB / 340.9 MB, free: 7.742 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.makefile make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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_3.2.3_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModelCalcHelperMain.o] Error 1