Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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/MEV 1.1.1-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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(MEV.Test.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") translateModel(MEV.Test.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009041/0.0009044, allocations: 102.1 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.001077/0.001077, allocations: 174.9 kB / 16.58 MB, free: 6.402 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.613/1.613, allocations: 205.4 MB / 222.7 MB, free: 5.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01063/0.01063, allocations: 1.92 MB / 272.9 MB, free: 3.391 MB / 222.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.0004999/0.0004999, allocations: 16 kB / 331.5 MB, free: 33.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08866, allocations: 48.1 MB / 379.6 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.004435/0.09313, allocations: 3.686 MB / 383.3 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.09477, allocations: 0.9438 MB / 384.2 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.09499, allocations: 8 kB / 384.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.09517, allocations: 63.45 kB / 384.3 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.09549, allocations: 178.5 kB / 384.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.09578, allocations: 91.89 kB / 384.6 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004631/0.09625, allocations: 0.4977 MB / 385.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.09652, allocations: 136.2 kB / 385.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.09672, allocations: 171.2 kB / 385.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.09694, allocations: 175.2 kB / 385.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.09699, allocations: 20 kB / 385.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-05/0.09709, allocations: 27.94 kB / 385.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.09716, allocations: 71.67 kB / 385.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.09727, allocations: 109.5 kB / 385.8 MB, free: 11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.09764, allocations: 367 kB / 386.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.09765, allocations: 0 / 386.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.09766, allocations: 0 / 386.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.09767, allocations: 0 / 386.1 MB, free: 10.64 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001157/0.09883, allocations: 0.6967 MB / 386.8 MB, free: 9.887 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.09888, allocations: 8.031 kB / 386.8 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.492e-05/0.09897, allocations: 51.44 kB / 386.9 MB, free: 9.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.09936, allocations: 322.2 kB / 387.2 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.0994, allocations: 25 kB / 387.2 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.09947, allocations: 47.84 kB / 387.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.1001, allocations: 334.4 kB / 387.6 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1001, allocations: 0 / 387.6 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.1002, allocations: 19.98 kB / 387.6 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1002, allocations: 8 kB / 387.6 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.1007, allocations: 271.8 kB / 387.9 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.1024, allocations: 1.117 MB / 389 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.103, allocations: 295.5 kB / 389.3 MB, free: 7.309 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.1033, allocations: 129.2 kB / 389.4 MB, free: 7.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.1033, allocations: 8.234 kB / 389.4 MB, free: 7.172 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.1037, allocations: 167.5 kB / 389.6 MB, free: 6.996 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 3.456e-06/0.1037, allocations: 0 / 389.6 MB, free: 6.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.002303/0.1061, allocations: 1.247 MB / 390.8 MB, free: 5.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1061, allocations: 55.41 kB / 390.9 MB, free: 5.594 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.1065, allocations: 349.5 kB / 391.2 MB, free: 5.246 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.1065, allocations: 29.7 kB / 391.3 MB, free: 5.211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1067, allocations: 212.4 kB / 391.5 MB, free: 5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.295e-05/0.1068, allocations: 122.3 kB / 391.6 MB, free: 4.879 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.1068, allocations: 4 kB / 391.6 MB, free: 4.875 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1069, allocations: 350.8 kB / 391.9 MB, free: 4.523 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.1072, allocations: 116.8 kB / 392.1 MB, free: 4.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.1075, allocations: 150.8 kB / 392.2 MB, free: 4.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.1077, allocations: 165.6 kB / 392.4 MB, free: 4.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1077, allocations: 0 / 392.4 MB, free: 4.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006609/0.1084, allocations: 390.8 kB / 392.7 MB, free: 3.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.74e-05/0.1085, allocations: 145.7 kB / 392.9 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1085, allocations: 8 kB / 392.9 MB, free: 3.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1086, allocations: 0 / 392.9 MB, free: 3.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.1089, allocations: 83.89 kB / 393 MB, free: 3.434 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.109, allocations: 15.89 kB / 393 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.1092, allocations: 23.98 kB / 393 MB, free: 3.395 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.1092, allocations: 12 kB / 393 MB, free: 3.383 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.1092, allocations: 7.281 kB / 393 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006096/0.1098, allocations: 349.5 kB / 393.4 MB, free: 3.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1098, allocations: 4 kB / 393.4 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-06/0.1099, allocations: 0 / 393.4 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.1102, allocations: 91.83 kB / 393.5 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1102, allocations: 4 kB / 393.5 MB, free: 2.934 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.1104, allocations: 15.98 kB / 393.5 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.1104, allocations: 16 kB / 393.5 MB, free: 2.902 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0002332/0.1106, allocations: 252.9 kB / 393.8 MB, free: 2.645 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.1107, allocations: 35.53 kB / 393.8 MB, free: 2.609 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.1113, allocations: 325.3 kB / 394.1 MB, free: 2.285 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.1114, allocations: 8 kB / 394.1 MB, free: 2.277 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1114, allocations: 0 / 394.1 MB, free: 2.277 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1114, allocations: 3.984 kB / 394.1 MB, free: 2.273 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.1126, allocations: 0.8881 MB / 395 MB, free: 1.316 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.1126, allocations: 4 kB / 395 MB, free: 1.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.113, allocations: 87.81 kB / 395.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.113, allocations: 4 kB / 395.1 MB, free: 1.223 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.113, allocations: 4 kB / 395.1 MB, free: 1.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.113, allocations: 4 kB / 395.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.113, allocations: 4.125 kB / 395.1 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/0.1139, allocations: 0.5771 MB / 395.7 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.114, allocations: 136.7 kB / 395.8 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.1141, allocations: 8 kB / 395.8 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.1143, allocations: 35.97 kB / 395.9 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.1144, allocations: 28.02 kB / 395.9 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1144, allocations: 11.98 kB / 395.9 MB, free: 376 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002421/0.1147, allocations: 239.2 kB / 396.1 MB, free: 136 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1147, allocations: 0 / 396.1 MB, free: 136 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005018/0.1152, allocations: 152 kB / 396.3 MB, free: 15.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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.0001515/0.1154, allocations: 115 kB / 396.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009116/0.1163, allocations: 0.5581 MB / 397 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1163, allocations: 384 / 397 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.1166, allocations: 151.8 kB / 397.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.1171, allocations: 61.34 kB / 397.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.1189, allocations: 1.232 MB / 398.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.1192, allocations: 0.804 MB / 399.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.1193, allocations: 31.44 kB / 399.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.945e-06/0.1194, allocations: 7.938 kB / 399.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Templates: time 0.006638/0.126, allocations: 4.525 MB / 403.8 MB, free: 8.391 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestBellJarLinearControl.makefile make -j1 -f MEV_MEV.Test.TestBellJarLinearControl.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 OMCppMEV_MEV.Test.TestBellJarLinearControlCalcHelperMain.o OMCppMEV_MEV.Test.TestBellJarLinearControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppMEV_MEV.Test.TestBellJarLinearControlCalcHelperMain.o] Error 1