Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) 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(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem") translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009476/0.0009478, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 172.3 kB / 16.58 MB, free: 6.395 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.076/2.076, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0379/0.03789, allocations: 8.107 MB / 279.1 MB, free: 13.22 MB / 238.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: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005236, allocations: 15.94 kB / 338.9 MB, free: 27.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1283, allocations: 49.28 MB / 388.2 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.002929/0.1312, allocations: 2.019 MB / 390.2 MB, free: 7.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1323, allocations: 0.6167 MB / 390.8 MB, free: 7.027 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1325, allocations: 4 kB / 390.8 MB, free: 7.023 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1326, allocations: 23.78 kB / 390.9 MB, free: 7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.1327, allocations: 63.48 kB / 390.9 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1329, allocations: 47.94 kB / 391 MB, free: 6.891 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.1332, allocations: 262.8 kB / 391.2 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.1334, allocations: 73.33 kB / 391.3 MB, free: 6.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1336, allocations: 87.64 kB / 391.4 MB, free: 6.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1337, allocations: 111.5 kB / 391.5 MB, free: 6.359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.1338, allocations: 16 kB / 391.5 MB, free: 6.344 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.237e-05/0.1338, allocations: 12 kB / 391.5 MB, free: 6.332 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.1339, allocations: 35.84 kB / 391.5 MB, free: 6.297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.1339, allocations: 65.58 kB / 391.6 MB, free: 6.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1342, allocations: 195.7 kB / 391.8 MB, free: 6.035 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1342, allocations: 0 / 391.8 MB, free: 6.035 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1342, allocations: 0 / 391.8 MB, free: 6.035 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1342, allocations: 0 / 391.8 MB, free: 6.035 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.000849/0.135, allocations: 0.5473 MB / 392.3 MB, free: 5.434 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1351, allocations: 12.03 kB / 392.4 MB, free: 5.422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.1352, allocations: 31.66 kB / 392.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.1355, allocations: 235.3 kB / 392.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.1355, allocations: 24.44 kB / 392.6 MB, free: 5.098 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.1355, allocations: 27.91 kB / 392.7 MB, free: 5.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.1361, allocations: 231.2 kB / 392.9 MB, free: 4.836 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1361, allocations: 4 kB / 392.9 MB, free: 4.832 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.1361, allocations: 8 kB / 392.9 MB, free: 4.824 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1361, allocations: 8 kB / 392.9 MB, free: 4.816 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.1367, allocations: 221.6 kB / 393.1 MB, free: 4.602 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1377, allocations: 0.7254 MB / 393.9 MB, free: 3.812 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.1384, allocations: 270.5 kB / 394.1 MB, free: 3.539 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.1387, allocations: 136.5 kB / 394.3 MB, free: 3.406 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1387, allocations: 7.938 kB / 394.3 MB, free: 3.398 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.1392, allocations: 172.7 kB / 394.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.1392, allocations: 0 / 394.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.002297/0.1415, allocations: 1.189 MB / 395.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.1416, allocations: 59.41 kB / 395.7 MB, free: 1.871 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1417, allocations: 179.4 kB / 395.9 MB, free: 1.684 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1418, allocations: 29.7 kB / 395.9 MB, free: 1.648 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1419, allocations: 144.7 kB / 396 MB, free: 1.504 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.662e-05/0.142, allocations: 98.55 kB / 396.1 MB, free: 1.406 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.142, allocations: 4 kB / 396.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1422, allocations: 330.8 kB / 396.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.1424, allocations: 107.9 kB / 396.6 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.1427, allocations: 137.4 kB / 396.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.143, allocations: 138.2 kB / 396.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.143, allocations: 0 / 396.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007093/0.1438, allocations: 360.5 kB / 397.2 MB, free: 328 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.1438, allocations: 33.66 kB / 397.2 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1438, allocations: 4 kB / 397.2 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1438, allocations: 0 / 397.2 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.1441, allocations: 75.89 kB / 397.3 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1441, allocations: 4.031 kB / 397.3 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.1443, allocations: 35.97 kB / 397.3 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.1444, allocations: 4 kB / 397.3 MB, free: 164 kB / 286.1 MB Warning: Assuming fixed start value for the following 4 variables: damper.w_rel:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "Relative angular velocity (= der(phi_rel))" type: Real damper.phi_rel:VARIABLE(start = 0.0 unit = "rad" fixed = true nominal = if damper.phi_nominal >= 1e-15 then damper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) "Relative rotation angle (= flange_b.phi - flange_a.phi)" type: Real springDamper.w_rel:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "Relative angular velocity (= der(phi_rel))" type: Real springDamper.phi_rel:VARIABLE(start = 0.0 unit = "rad" fixed = true nominal = if springDamper.phi_nominal >= 1e-15 then springDamper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) "Relative rotation angle (= flange_b.phi - flange_a.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0002639/0.1446, allocations: 182.3 kB / 397.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.1447, allocations: 15.81 kB / 397.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.1448, allocations: 30.61 kB / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1448, allocations: 7.984 kB / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1448, allocations: 0 / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.1448, allocations: 7.922 kB / 397.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.146, allocations: 0.734 MB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.146, allocations: 0 / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.1463, allocations: 75.95 kB / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.1463, allocations: 7.984 kB / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.1464, allocations: 4 kB / 398.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.1464, allocations: 7.938 kB / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1464, allocations: 0 / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009905/0.1474, allocations: 0.5399 MB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1475, allocations: 92.83 kB / 399 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.1475, allocations: 12.03 kB / 399 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.1478, allocations: 27.98 kB / 399.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.1478, allocations: 27.95 kB / 399.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1479, allocations: 8 kB / 399.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.148, allocations: 128.6 kB / 399.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.148, allocations: 0 / 399.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1483, allocations: 60 kB / 399.3 MB, free: 14.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (springDamper.phi_rel,springDamper.w_rel,damper.phi_rel,damper.w_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001197/0.1484, allocations: 115.2 kB / 399.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006686/0.1491, allocations: 320 kB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1491, allocations: 0 / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.1494, allocations: 143.8 kB / 399.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.1499, allocations: 59.97 kB / 399.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.1523, allocations: 1.045 MB / 401 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1527, allocations: 0.7517 MB / 401.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.1528, allocations: 23.42 kB / 401.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1528, allocations: 0 / 401.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Templates: time 0.005119/0.1579, allocations: 2.976 MB / 404.7 MB, free: 8.598 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.makefile make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.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 OMCppModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystemCalcHelperMain.o OMCppModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystemCalcHelperMain.o] Error 1