Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.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_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 99.2 kB / 15.71 MB, free: 452 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.001751/0.001751, allocations: 174.8 kB / 16.58 MB, free: 6.418 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.062/2.062, allocations: 205.4 MB / 222.7 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03907/0.03907, allocations: 8.109 MB / 279.1 MB, free: 13.21 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.0005618/0.0005618, allocations: 15.12 kB / 338.9 MB, free: 27.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1277, allocations: 49.27 MB / 388.2 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.003031/0.1308, allocations: 2.038 MB / 390.2 MB, free: 7.645 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1321, allocations: 0.6517 MB / 390.9 MB, free: 6.984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1322, allocations: 0 / 390.9 MB, free: 6.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1324, allocations: 27.77 kB / 390.9 MB, free: 6.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1325, allocations: 67.47 kB / 391 MB, free: 6.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.1328, allocations: 59.92 kB / 391 MB, free: 6.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.1331, allocations: 258.8 kB / 391.3 MB, free: 6.578 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.1333, allocations: 77.33 kB / 391.3 MB, free: 6.496 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.1335, allocations: 91.64 kB / 391.4 MB, free: 6.406 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1337, allocations: 111.5 kB / 391.5 MB, free: 6.297 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.1337, allocations: 16 kB / 391.6 MB, free: 6.281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.423e-05/0.1337, allocations: 12 kB / 391.6 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.251e-05/0.1338, allocations: 39.84 kB / 391.6 MB, free: 6.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.386e-05/0.1339, allocations: 65.58 kB / 391.7 MB, free: 6.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1341, allocations: 195.7 kB / 391.9 MB, free: 5.969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.1341, allocations: 0 / 391.9 MB, free: 5.969 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1341, allocations: 7.938 kB / 391.9 MB, free: 5.961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1342, allocations: 3.938 kB / 391.9 MB, free: 5.957 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.001153/0.1353, allocations: 0.5513 MB / 392.4 MB, free: 5.352 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1354, allocations: 8.031 kB / 392.4 MB, free: 5.344 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/0.1354, allocations: 27.72 kB / 392.5 MB, free: 5.316 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.1358, allocations: 246.5 kB / 392.7 MB, free: 5.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1358, allocations: 20.44 kB / 392.7 MB, free: 5.016 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/0.1359, allocations: 27.91 kB / 392.7 MB, free: 4.988 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/0.1364, allocations: 227.2 kB / 393 MB, free: 4.758 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1364, allocations: 4 kB / 393 MB, free: 4.754 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.1365, allocations: 12 kB / 393 MB, free: 4.742 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1365, allocations: 8 kB / 393 MB, free: 4.734 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.137, allocations: 217.6 kB / 393.2 MB, free: 4.523 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.1382, allocations: 0.67 MB / 393.9 MB, free: 3.801 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/0.1389, allocations: 278.4 kB / 394.1 MB, free: 3.52 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.1392, allocations: 132.8 kB / 394.3 MB, free: 3.387 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1393, allocations: 4 kB / 394.3 MB, free: 3.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.1397, allocations: 189.1 kB / 394.5 MB, free: 3.188 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 1.903e-06/0.1397, allocations: 0 / 394.5 MB, free: 3.188 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.002595/0.1423, allocations: 1.255 MB / 395.7 MB, free: 1.844 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.1424, allocations: 63.33 kB / 395.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1426, allocations: 186.8 kB / 396 MB, free: 1.578 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.1426, allocations: 29.7 kB / 396 MB, free: 1.543 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.1427, allocations: 140.7 kB / 396.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.513e-05/0.1428, allocations: 102.5 kB / 396.2 MB, free: 1.301 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.1429, allocations: 4 kB / 396.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.143, allocations: 342.8 kB / 396.6 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.1433, allocations: 100.3 kB / 396.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.1436, allocations: 151.3 kB / 396.8 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.1439, allocations: 158.1 kB / 397 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.144, allocations: 4 kB / 397 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000718/0.1447, allocations: 382.4 kB / 397.3 MB, free: 148 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.1447, allocations: 36.16 kB / 397.4 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1447, allocations: 3.938 kB / 397.4 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1448, allocations: 4 kB / 397.4 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.1451, allocations: 91.91 kB / 397.5 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.1451, allocations: 7.984 kB / 397.5 MB, free: 0 / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.1453, allocations: 27.97 kB / 397.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.1453, allocations: 12 kB / 397.5 MB, free: 15.96 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: speedSensor.w:DISCRETE(flow=false fixed = true ) "Sensed speed" 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: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.speedSensor.w,speedSensor.w,$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 (39): * Single equations (assignments): 38 * 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.0002626/0.1456, allocations: 169 kB / 397.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.1457, allocations: 19.81 kB / 397.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.1457, allocations: 34.59 kB / 397.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.1458, allocations: 3.984 kB / 397.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.1458, allocations: 7.938 kB / 397.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1458, allocations: 4 kB / 397.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.147, allocations: 0.8072 MB / 398.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1471, allocations: 4 kB / 398.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.1474, allocations: 76.02 kB / 398.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1474, allocations: 0 / 398.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.1474, allocations: 11.98 kB / 398.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1474, allocations: 7.938 kB / 398.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1474, allocations: 0 / 398.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1485, allocations: 0.563 MB / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.1486, allocations: 88.92 kB / 399.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.1486, allocations: 8 kB / 399.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.1488, allocations: 32.02 kB / 399.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.1489, allocations: 27.95 kB / 399.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1489, allocations: 12 kB / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1491, allocations: 136.3 kB / 399.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1491, allocations: 0 / 399.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1494, allocations: 64 kB / 399.6 MB, free: 13.78 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: 5 ($whenCondition2,$whenCondition1,speedSensor.w,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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001533/0.1496, allocations: 107.2 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007447/0.1503, allocations: 343.2 kB / 400 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1503, allocations: 0 / 400 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.1507, allocations: 156 kB / 400.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1511, allocations: 51.84 kB / 400.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.1537, allocations: 1.069 MB / 401.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.1542, allocations: 0.7522 MB / 402.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.1543, allocations: 23.44 kB / 402.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1543, allocations: 0 / 402.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Templates: time 0.005445/0.1597, allocations: 3.125 MB / 405.2 MB, free: 8.102 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.makefile make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.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.FlatSystem_Variation1CalcHelperMain.o OMCppModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1CalcHelperMain.o] Error 1