Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006821/0.0006821, allocations: 104.4 kB / 19.71 MB, free: 444 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007033/0.0007033, allocations: 212.2 kB / 23 MB, free: 2.973 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8402/0.8402, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7503/0.7503, allocations: 203.8 MB / 0.5049 GB, free: 10.4 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008865/0.0008865, allocations: 66.27 kB / 0.7194 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4077, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001263/0.4089, allocations: 0.6458 MB / 0.8196 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005869/0.4095, allocations: 0.816 MB / 0.8204 GB, free: 328 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.4096, allocations: 4 kB / 0.8204 GB, free: 324 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.684e-05/0.4097, allocations: 6.391 kB / 0.8204 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.251e-05/0.4098, allocations: 11.59 kB / 0.8205 GB, free: 312 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.074e-05/0.4098, allocations: 6.188 kB / 0.8205 GB, free: 312 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.4099, allocations: 61.08 kB / 0.8205 GB, free: 284 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.41, allocations: 10.67 kB / 0.8205 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/0.4101, allocations: 23.52 kB / 0.8206 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.4101, allocations: 39.72 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.4101, allocations: 3.156 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-06/0.4102, allocations: 3.812 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.4102, allocations: 23.75 kB / 0.8206 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.4102, allocations: 23.47 kB / 0.8206 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.61e-05/0.4103, allocations: 72.89 kB / 0.8207 GB, free: 204 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4103, allocations: 0 / 0.8207 GB, free: 204 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4103, allocations: 0.5156 kB / 0.8207 GB, free: 204 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.4103, allocations: 0 / 0.8207 GB, free: 204 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003938/0.4107, allocations: 315 kB / 0.821 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.4108, allocations: 9 kB / 0.821 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.4108, allocations: 4.609 kB / 0.821 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.4109, allocations: 136.7 kB / 0.8212 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.4109, allocations: 8.531 kB / 0.8212 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.4109, allocations: 5.875 kB / 0.8212 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.4112, allocations: 133.4 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4112, allocations: 192 / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4112, allocations: 4.688 kB / 0.8213 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4112, allocations: 2.031 kB / 0.8213 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.4114, allocations: 134.7 kB / 0.8214 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.4117, allocations: 365.7 kB / 0.8218 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.4119, allocations: 85.33 kB / 0.8219 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.412, allocations: 67.48 kB / 0.8219 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.412, allocations: 4 kB / 0.8219 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.412, allocations: 35.3 kB / 0.822 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.412, allocations: 0 / 0.822 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003625/0.4124, allocations: 192.5 kB / 0.8221 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.4124, allocations: 82.77 kB / 0.8222 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.4125, allocations: 119.5 kB / 0.8223 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.4125, allocations: 25.7 kB / 0.8224 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.4125, allocations: 102.1 kB / 0.8225 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.4125, allocations: 3.953 kB / 0.8225 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.4126, allocations: 17.66 kB / 0.8225 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.4126, allocations: 316.8 kB / 0.8228 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.4127, allocations: 50.47 kB / 0.8228 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.4128, allocations: 71.56 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.413, allocations: 108.5 kB / 0.823 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.413, allocations: 0 / 0.823 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002033/0.4132, allocations: 136 kB / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4132, allocations: 6.156 kB / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.4132, allocations: 0 / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4132, allocations: 1.062 kB / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.4133, allocations: 22.39 kB / 0.8232 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4133, allocations: 1.156 kB / 0.8232 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.4134, allocations: 19.59 kB / 0.8232 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.4134, allocations: 9.938 kB / 0.8232 GB, free: 14.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.423e-05/0.4134, allocations: 125.6 kB / 0.8233 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.4134, allocations: 2.641 kB / 0.8233 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.4135, allocations: 18.69 kB / 0.8233 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4135, allocations: 0.9688 kB / 0.8233 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4135, allocations: 0.9688 kB / 0.8233 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4135, allocations: 5.688 kB / 0.8233 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.4136, allocations: 125.8 kB / 0.8235 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4136, allocations: 0 / 0.8235 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.4137, allocations: 24.25 kB / 0.8235 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4137, allocations: 0 / 0.8235 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.4137, allocations: 0 / 0.8235 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4137, allocations: 0.7031 kB / 0.8235 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4137, allocations: 2.688 kB / 0.8235 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.4139, allocations: 314.9 kB / 0.8238 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.4139, allocations: 2.25 kB / 0.8238 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.4139, allocations: 9.766 kB / 0.8238 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.414, allocations: 15.78 kB / 0.8238 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.4141, allocations: 8.188 kB / 0.8238 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.4141, allocations: 0 / 0.8238 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.4141, allocations: 98.58 kB / 0.8239 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4141, allocations: 0 / 0.8239 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001653/0.4143, allocations: 13.27 kB / 0.8239 GB, free: 13.79 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.294e-05/0.4144, allocations: 98.78 kB / 0.824 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.4146, allocations: 117.2 kB / 0.8241 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4146, allocations: 0 / 0.8241 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.4147, allocations: 59.8 kB / 0.8242 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.4149, allocations: 18.3 kB / 0.8242 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.4152, allocations: 199 kB / 0.8244 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.4153, allocations: 85.33 kB / 0.8245 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.4153, allocations: 9.094 kB / 0.8245 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.4153, allocations: 1.438 kB / 0.8245 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.001878/0.4172, allocations: 0.9853 MB / 0.8255 GB, free: 13.34 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorInitialize.cpp:170:50: error: use of undeclared identifier 'reaRep_P_y_' 170 | SystemDefaultImplementation::setRealStartValue(reaRep_P_y_(3,1), (_ram1_P_offset_ + tmp4), false); | ^ In file included from OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.cpp:178:3: error: use of undeclared identifier 'reaRep_P_y_' 178 | reaRep_P_y_(3,1) = (_ram1_P_offset_ + tmp10); | ^ 2 errors generated. make: *** [: OMCppIDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.595689913723618] Failed to read output from testmodel.py, exit status != 0: 0.4224516120739281 0.431626275 0.019523183 Calling exit ...