Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001425/0.001425, allocations: 103.6 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001618/0.001618, allocations: 215.4 kB / 24.48 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 55.91 kB / 379 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2401, allocations: 53.41 MB / 432.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008499/0.2486, allocations: 6.324 MB / 438.7 MB, free: 140 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006074/0.2547, allocations: 2.999 MB / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007726/0.2554, allocations: 39.81 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.2571, allocations: 0.7782 MB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.2599, allocations: 1.327 MB / 443.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.2609, allocations: 495 kB / 444.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003089/0.264, allocations: 2.559 MB / 446.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.2654, allocations: 1.081 MB / 448 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.2664, allocations: 0.7705 MB / 448.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.2679, allocations: 1.172 MB / 449.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.2682, allocations: 132 kB / 450.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.2697, allocations: 0.7682 MB / 450.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009536/0.2706, allocations: 1.009 MB / 451.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009022/0.2715, allocations: 0.8457 MB / 452.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004151/0.2757, allocations: 3.94 MB / 456.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2757, allocations: 4 kB / 456.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2757, allocations: 0 / 456.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.211e-05/0.2758, allocations: 0 / 456.6 MB, free: 14.16 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005129/0.2809, allocations: 2.857 MB / 459.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2809, allocations: 15.98 kB / 459.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005911/0.2868, allocations: 1.653 MB / 461.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/0.2895, allocations: 1.267 MB / 462.4 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.2896, allocations: 122.8 kB / 462.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003262/0.29, allocations: 151.8 kB / 462.7 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009297/0.2993, allocations: 6.363 MB / 469 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-05/0.2993, allocations: 27.75 kB / 469.1 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.2996, allocations: 79.89 kB / 469.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00249/0.3021, allocations: 1.441 MB / 470.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00966/0.3117, allocations: 5.65 MB / 476.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02867/0.3404, allocations: 24.77 MB / 0.4893 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/0.3446, allocations: 1.728 MB / 0.491 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.3459, allocations: 0.9403 MB / 0.4919 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/0.346, allocations: 12 kB / 0.4919 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.346, allocations: 42.56 kB / 0.4919 GB, free: 13.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.116e-06/0.346, allocations: 0 / 0.4919 GB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02111/0.3671, allocations: 8.502 MB / 0.5002 GB, free: 4.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.3672, allocations: 148.4 kB / 0.5004 GB, free: 4.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/0.3708, allocations: 2.641 MB / 0.5029 GB, free: 2.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.3709, allocations: 33.7 kB / 0.503 GB, free: 2.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.3725, allocations: 2.182 MB / 0.5051 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004719/0.373, allocations: 452.6 kB / 0.5055 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.3741, allocations: 0.8933 MB / 0.5064 GB, free: 14.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3743, allocations: 353.9 kB / 0.5068 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/0.3766, allocations: 1.414 MB / 0.5081 GB, free: 12.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004559/0.3811, allocations: 4.25 MB / 0.5123 GB, free: 7.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007577/0.3887, allocations: 6.131 MB / 0.5183 GB, free: 15.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.908e-05/0.3888, allocations: 36 kB / 0.5183 GB, free: 15.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01186/0.4006, allocations: 6.084 MB / 0.5242 GB, free: 9.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.497e-05/0.4007, allocations: 48 kB / 0.5243 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.4008, allocations: 100 kB / 0.5244 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/0.4031, allocations: 0.7961 MB / 0.5252 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.4061, allocations: 0.998 MB / 0.5261 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006/0.4121, allocations: 4.303 MB / 0.5303 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.4149, allocations: 255.6 kB / 0.5306 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003868/0.4153, allocations: 272 kB / 0.5308 GB, free: 2.555 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 533 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001967/0.4173, allocations: 1.368 MB / 0.5322 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.4176, allocations: 218.5 kB / 0.5324 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.4215, allocations: 1.815 MB / 0.5342 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.4216, allocations: 12 kB / 0.5342 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.4216, allocations: 8 kB / 0.5342 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.4216, allocations: 7.922 kB / 0.5342 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008414/0.43, allocations: 4.128 MB / 0.5382 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.43, allocations: 0 / 0.5382 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/0.4307, allocations: 135.9 kB / 0.5383 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002406/0.4331, allocations: 0.6408 MB / 0.539 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.541e-05/0.4332, allocations: 27.92 kB / 0.539 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.4384, allocations: 3.791 MB / 0.5427 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4384, allocations: 4.031 kB / 0.5427 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006128/0.4445, allocations: 3.665 MB / 0.5463 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/0.445, allocations: 194.4 kB / 0.5465 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.4452, allocations: 12 kB / 0.5465 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/0.446, allocations: 63.91 kB / 0.5465 GB, free: 2.242 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.4462, allocations: 59.95 kB / 0.5466 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.329e-05/0.4463, allocations: 32 kB / 0.5466 GB, free: 2.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002369/0.4486, allocations: 1.499 MB / 0.5481 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4486, allocations: 0 / 0.5481 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003286/0.4519, allocations: 0.6327 MB / 0.5487 GB, free: 4 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (75): * Single equations (assignments): 71 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2343/0.6862, allocations: 143.9 kB / 0.5488 GB, free: 113.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006016/0.6922, allocations: 3.303 MB / 0.5521 GB, free: 113.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.6922, allocations: 2.812 kB / 0.5521 GB, free: 113.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.6934, allocations: 0.8658 MB / 0.5529 GB, free: 113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.6949, allocations: 219.3 kB / 0.5531 GB, free: 112.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007695/0.7026, allocations: 5.798 MB / 0.5588 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/0.7042, allocations: 1.612 MB / 0.5604 GB, free: 110 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.7046, allocations: 187.2 kB / 0.5605 GB, free: 110 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.7046, allocations: 0 / 0.5605 GB, free: 110 MB / 462.1 MB Notification: Performance of Templates: time 0.0499/0.7545, allocations: 47.17 MB / 0.6066 GB, free: 66.84 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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/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 OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.cpp:29: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumInitialize.cpp:91:65: error: use of undeclared identifier 'body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_body_P_Q_(1),body_P_Q_start_(1)); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumInitialize.cpp:92:65: error: use of undeclared identifier 'body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_body_P_Q_(2),body_P_Q_start_(2)); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumInitialize.cpp:93:65: error: use of undeclared identifier 'body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_body_P_Q_(3),body_P_Q_start_(3)); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumInitialize.cpp:94:65: error: use of undeclared identifier 'body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_body_P_Q_(4),body_P_Q_start_(4)); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumInitialize.cpp:2883:65: error: use of undeclared identifier 'body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_body_P_Q_(1), body_P_Q_start_(1), false); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumInitialize.cpp:2901:65: error: use of undeclared identifier 'body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_body_P_Q_(2), body_P_Q_start_(2), false); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumInitialize.cpp:2919:65: error: use of undeclared identifier 'body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_body_P_Q_(3), body_P_Q_start_(3), false); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumInitialize.cpp:2937:65: error: use of undeclared identifier 'body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_body_P_Q_(4), body_P_Q_start_(4), false); ^ 8 errors generated. make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.622374270111322] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 0.7627077968791127 0.772038688 0.49401493599999996 Calling exit ...