Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 103.3 kB / 16.52 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 199.4 kB / 17.44 MB, free: 6.059 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.715/1.715, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2722/0.2722, allocations: 43.52 MB / 314.1 MB, free: 0.7578 MB / 254.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.001549/0.001549, allocations: 69.88 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1656, allocations: 57.79 MB / 440.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.1044/0.2701, allocations: 101.6 MB / 0.5294 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5396/0.8098, allocations: 19.32 MB / 0.5482 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0363/0.8461, allocations: 437.8 kB / 0.5486 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01276/0.8589, allocations: 5.092 MB / 0.5536 GB, free: 116 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01409/0.8732, allocations: 2.69 MB / 0.5562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005178/0.8784, allocations: 1.159 MB / 0.5574 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02412/0.9026, allocations: 11.46 MB / 0.5686 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01527/0.9179, allocations: 6.138 MB / 0.5746 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009044/0.927, allocations: 2.434 MB / 0.5769 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01202/0.9391, allocations: 4.102 MB / 0.5809 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00511/0.9443, allocations: 424.4 kB / 0.5813 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009874/0.9542, allocations: 1.494 MB / 0.5828 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008297/0.9626, allocations: 3.37 MB / 0.5861 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01251/0.9752, allocations: 3.759 MB / 0.5898 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01796/0.9932, allocations: 9.757 MB / 0.5993 GB, free: 4.305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.546e-05/0.9933, allocations: 0 / 0.5993 GB, free: 4.305 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.9933, allocations: 11.88 kB / 0.5993 GB, free: 4.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007374/0.994, allocations: 0 / 0.5993 GB, free: 4.293 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.03746/1.032, allocations: 8.314 MB / 0.6074 GB, free: 12.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.284e-05/1.032, allocations: 8.031 kB / 0.6074 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01909/1.051, allocations: 3.211 MB / 0.6106 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/1.068, allocations: 5.234 MB / 0.6157 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005951/1.069, allocations: 405.7 kB / 0.6161 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003566/1.072, allocations: 0.5295 MB / 0.6166 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04775/1.12, allocations: 16.39 MB / 0.6326 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006854/1.121, allocations: 75.31 kB / 0.6327 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002975/1.124, allocations: 251.7 kB / 0.6329 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006498/1.13, allocations: 3.076 MB / 0.6359 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0364/1.167, allocations: 13.64 MB / 0.6492 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/1.281, allocations: 62.43 MB / 0.7102 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/1.298, allocations: 6.111 MB / 0.7162 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006179/1.304, allocations: 3.41 MB / 0.7195 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/1.304, allocations: 58.11 kB / 0.7195 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.857e-05/1.304, allocations: 60.06 kB / 0.7196 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=249): time 8.346e-06/1.304, allocations: 4 kB / 0.7196 GB, free: 7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.7268/2.031, allocations: 26.32 MB / 0.7453 GB, free: 246.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/2.031, allocations: 258.5 kB / 0.7456 GB, free: 246.4 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01714/2.049, allocations: 7.04 MB / 0.7524 GB, free: 245 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009782/2.05, allocations: 62.39 kB / 0.7525 GB, free: 245 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00439/2.054, allocations: 4.967 MB / 0.7573 GB, free: 241.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002457/2.056, allocations: 1.04 MB / 0.7584 GB, free: 241.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003798/2.06, allocations: 1.838 MB / 0.7601 GB, free: 240.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/2.06, allocations: 312.8 kB / 0.7604 GB, free: 239.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00597/2.066, allocations: 3.409 MB / 0.7638 GB, free: 238.8 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01002/2.076, allocations: 8.713 MB / 0.7723 GB, free: 230.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/2.091, allocations: 12.99 MB / 0.785 GB, free: 220 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002676/2.092, allocations: 50.78 kB / 0.785 GB, free: 220 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02762/2.119, allocations: 13.41 MB / 0.7981 GB, free: 210.3 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004522/2.12, allocations: 86.97 kB / 0.7982 GB, free: 210.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005599/2.12, allocations: 184 kB / 0.7984 GB, free: 210 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005383/2.126, allocations: 1.796 MB / 0.8001 GB, free: 208.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007906/2.134, allocations: 2.084 MB / 0.8022 GB, free: 206.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/2.149, allocations: 11.76 MB / 0.8136 GB, free: 194 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/2.159, allocations: 0.5067 MB / 0.8141 GB, free: 193.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002225/2.161, allocations: 0.5338 MB / 0.8147 GB, free: 193 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1110): * Single equations (assignments): 1104 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009035/2.171, allocations: 3.327 MB / 0.8179 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002334/2.173, allocations: 0.5823 MB / 0.8185 GB, free: 189 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/2.185, allocations: 5.986 MB / 0.8243 GB, free: 183 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.817e-05/2.185, allocations: 28 kB / 0.8244 GB, free: 183 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.454e-05/2.185, allocations: 8 kB / 0.8244 GB, free: 183 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-05/2.185, allocations: 15.95 kB / 0.8244 GB, free: 183 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03192/2.217, allocations: 13.36 MB / 0.8374 GB, free: 169.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/2.218, allocations: 14.19 kB / 0.8374 GB, free: 169.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/2.22, allocations: 455.3 kB / 0.8379 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004063/2.224, allocations: 1.499 MB / 0.8393 GB, free: 167.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004018/2.224, allocations: 47.98 kB / 0.8394 GB, free: 167.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/2.236, allocations: 10.83 MB / 0.85 GB, free: 156.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/2.236, allocations: 0 / 0.85 GB, free: 156.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/2.252, allocations: 9.74 MB / 0.8595 GB, free: 146.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003702/2.256, allocations: 1.063 MB / 0.8605 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002165/2.258, allocations: 44 kB / 0.8606 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003864/2.262, allocations: 187.7 kB / 0.8607 GB, free: 145.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006163/2.263, allocations: 157.7 kB / 0.8609 GB, free: 145.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002531/2.263, allocations: 71.75 kB / 0.8609 GB, free: 145 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009898/2.273, allocations: 4.484 MB / 0.8653 GB, free: 140.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.6e-07/2.273, allocations: 0 / 0.8653 GB, free: 140.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01244/2.285, allocations: 1.672 MB / 0.867 GB, free: 138.9 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/2.286, allocations: 178.9 kB / 0.8671 GB, free: 138.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01406/2.3, allocations: 8.347 MB / 0.8753 GB, free: 130.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/2.3, allocations: 0 / 0.8753 GB, free: 130.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00419/2.305, allocations: 2.851 MB / 0.8781 GB, free: 127.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/2.315, allocations: 0.7529 MB / 0.8788 GB, free: 126.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04151/2.357, allocations: 19.55 MB / 0.8979 GB, free: 107.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005496/2.362, allocations: 5.031 MB / 0.9028 GB, free: 102.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002132/2.364, allocations: 459.4 kB / 0.9032 GB, free: 101.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.654e-06/2.364, allocations: 0 / 0.9032 GB, free: 101.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.5359/2.9, allocations: 187.8 MB / 1.087 GB, free: 149.5 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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 OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorquesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorquesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorquesCalcHelperMain.o] Error 1