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.0006911/0.0006911, allocations: 92.55 kB / 16.02 MB, free: 80 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.0007412/0.0007411, allocations: 174.9 kB / 16.92 MB, free: 6.652 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.184/1.184, allocations: 205.4 MB / 223.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0357/0.0357, allocations: 8.114 MB / 279.5 MB, free: 13.12 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.0004571/0.0004571, allocations: 12 kB / 339.5 MB, free: 26.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06692/0.06739, allocations: 49.27 MB / 388.8 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.002145/0.06957, allocations: 2.104 MB / 390.9 MB, free: 7.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008667/0.07045, allocations: 0.6671 MB / 391.6 MB, free: 6.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-05/0.07056, allocations: 7.938 kB / 391.6 MB, free: 6.547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.468e-05/0.07066, allocations: 23.78 kB / 391.6 MB, free: 6.523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.07079, allocations: 67.47 kB / 391.7 MB, free: 6.457 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.07099, allocations: 63.92 kB / 391.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.07124, allocations: 278.8 kB / 392 MB, free: 6.121 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.0714, allocations: 85.88 kB / 392.1 MB, free: 6.035 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.07153, allocations: 99.58 kB / 392.2 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.07166, allocations: 107.5 kB / 392.3 MB, free: 5.832 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.07169, allocations: 19.94 kB / 392.3 MB, free: 5.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.119e-05/0.07173, allocations: 12 kB / 392.3 MB, free: 5.801 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.07178, allocations: 47.77 kB / 392.4 MB, free: 5.754 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.07189, allocations: 137.1 kB / 392.5 MB, free: 5.613 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.07207, allocations: 199.7 kB / 392.7 MB, free: 5.418 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.07208, allocations: 0 / 392.7 MB, free: 5.418 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.07209, allocations: 0 / 392.7 MB, free: 5.418 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.0721, allocations: 4 kB / 392.7 MB, free: 5.414 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.0008149/0.07292, allocations: 0.5359 MB / 393.2 MB, free: 4.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.07296, allocations: 16.02 kB / 393.3 MB, free: 4.805 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.07302, allocations: 24.66 kB / 393.3 MB, free: 4.781 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.07326, allocations: 251.7 kB / 393.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.07329, allocations: 20.81 kB / 393.5 MB, free: 4.477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.07334, allocations: 28.31 kB / 393.6 MB, free: 4.449 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.07382, allocations: 235.5 kB / 393.8 MB, free: 4.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.07384, allocations: 4 kB / 393.8 MB, free: 4.207 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.07387, allocations: 8 kB / 393.8 MB, free: 4.199 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.07389, allocations: 4 kB / 393.8 MB, free: 4.195 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005439/0.07444, allocations: 221.6 kB / 394 MB, free: 3.98 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/0.07534, allocations: 0.6739 MB / 394.7 MB, free: 3.258 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006658/0.07602, allocations: 273.1 kB / 395 MB, free: 2.984 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.07633, allocations: 145.2 kB / 395.1 MB, free: 2.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.07635, allocations: 3.938 kB / 395.1 MB, free: 2.836 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.07677, allocations: 201 kB / 395.3 MB, free: 2.629 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.07678, allocations: 0 / 395.3 MB, free: 2.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.002375/0.07916, allocations: 1.255 MB / 396.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.0792, allocations: 59.41 kB / 396.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.07936, allocations: 190.8 kB / 396.8 MB, free: 1.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.07939, allocations: 29.7 kB / 396.8 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.07947, allocations: 136.8 kB / 397 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.07955, allocations: 114.4 kB / 397.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.0796, allocations: 33.7 kB / 397.1 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.07971, allocations: 338.8 kB / 397.5 MB, free: 364 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.08, allocations: 104.3 kB / 397.6 MB, free: 256 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.08031, allocations: 151.3 kB / 397.7 MB, free: 96 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.08162, allocations: 0.6012 MB / 398.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.08164, allocations: 0 / 398.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007132/0.08235, allocations: 382.5 kB / 398.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.0824, allocations: 41.62 kB / 398.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.08241, allocations: 0 / 398.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.08243, allocations: 4 kB / 398.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.08271, allocations: 79.92 kB / 398.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.08272, allocations: 4 kB / 398.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.08294, allocations: 31.97 kB / 398.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.08296, allocations: 11.98 kB / 398.8 MB, free: 14.9 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: 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 springDamper.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 damper.w_rel:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "Relative angular velocity (= der(phi_rel))" 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,$PRE.trapezoid.count,$PRE.trapezoid.T_start,$PRE.speedSensor.w,trapezoid.count,trapezoid.T_start,speedSensor.w,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.08315, allocations: 169.1 kB / 399 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.08319, allocations: 27.73 kB / 399 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.08326, allocations: 30.59 kB / 399.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.08327, allocations: 0 / 399.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.08328, allocations: 8 kB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.08329, allocations: 3.984 kB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.08441, allocations: 0.8072 MB / 399.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.08443, allocations: 4.062 kB / 399.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.08474, allocations: 75.89 kB / 400 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.08475, allocations: 7.938 kB / 400 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.08477, allocations: 4 kB / 400 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.08478, allocations: 4 kB / 400 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.08479, allocations: 0 / 400 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000977/0.08577, allocations: 0.5709 MB / 400.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.08583, allocations: 92.92 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.08587, allocations: 16.03 kB / 400.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.0861, allocations: 23.98 kB / 400.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.08618, allocations: 31.89 kB / 400.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.0862, allocations: 12 kB / 400.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.389e-05/0.0863, allocations: 136.3 kB / 400.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08631, allocations: 0 / 400.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000276/0.08659, allocations: 68 kB / 400.9 MB, free: 12.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.526e-05/0.08669, allocations: 107.5 kB / 401 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000671/0.08737, allocations: 342.9 kB / 401.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.08738, allocations: 4 kB / 401.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.08771, allocations: 160 kB / 401.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.08812, allocations: 47.44 kB / 401.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.09048, allocations: 1.084 MB / 402.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.09076, allocations: 0.7599 MB / 403.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.09084, allocations: 23.44 kB / 403.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09085, allocations: 4 kB / 403.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Templates: time 0.004535/0.09539, allocations: 3.116 MB / 406.6 MB, free: 7 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++ -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 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