Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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) 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001139, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001343/0.001344, allocations: 190 kB / 18.72 MB, free: 4.781 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.801/1.801, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.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.001178/0.001178, allocations: 47.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1215, allocations: 46.63 MB / 327.3 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.05322/0.1748, allocations: 50.21 MB / 377.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3048/0.4796, allocations: 10.34 MB / 387.8 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0141/0.4938, allocations: 209.8 kB / 388 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006694/0.5006, allocations: 2.701 MB / 390.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007045/0.5077, allocations: 1.762 MB / 392.5 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.5098, allocations: 0.5176 MB / 393 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009544/0.5194, allocations: 5.509 MB / 398.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006812/0.5262, allocations: 3.669 MB / 402.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004157/0.5304, allocations: 1.356 MB / 403.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004687/0.5352, allocations: 2.261 MB / 405.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.5368, allocations: 236.8 kB / 406 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.5404, allocations: 1.02 MB / 407 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002717/0.5432, allocations: 1.855 MB / 408.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002915/0.5461, allocations: 2.149 MB / 411 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006792/0.5529, allocations: 5.656 MB / 416.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.553, allocations: 0 / 416.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.553, allocations: 0 / 416.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003114/0.5533, allocations: 0 / 416.7 MB, free: 13.27 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02139/0.5747, allocations: 5.308 MB / 422 MB, free: 7.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.5747, allocations: 12.03 kB / 422 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006799/0.5816, allocations: 1.884 MB / 423.9 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00555/0.5871, allocations: 2.347 MB / 426.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.5874, allocations: 243.4 kB / 426.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009063/0.5883, allocations: 314.5 kB / 426.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02243/0.6107, allocations: 10.71 MB / 437.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.6109, allocations: 43.58 kB / 437.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004711/0.6114, allocations: 152.2 kB / 437.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003592/0.615, allocations: 1.982 MB / 439.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/0.6376, allocations: 9.565 MB / 449.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0588/0.6964, allocations: 39.93 MB / 489.2 MB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/0.7105, allocations: 3.847 MB / 493 MB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003007/0.7135, allocations: 1.852 MB / 494.9 MB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.7142, allocations: 357.1 kB / 495.2 MB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.7142, allocations: 55.5 kB / 495.3 MB, free: 13.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.388e-06/0.7143, allocations: 0 / 495.3 MB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.04574/0.76, allocations: 13.76 MB / 0.4971 GB, free: 15.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.7602, allocations: 141.5 kB / 0.4972 GB, free: 15.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007251/0.7675, allocations: 4.167 MB / 0.5013 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.7678, allocations: 45.7 kB / 0.5013 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002577/0.7704, allocations: 3.161 MB / 0.5044 GB, free: 7.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008255/0.7712, allocations: 0.6179 MB / 0.505 GB, free: 6.996 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001837/0.773, allocations: 1.221 MB / 0.5062 GB, free: 5.762 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7732, allocations: 305.1 kB / 0.5065 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/0.7765, allocations: 2.139 MB / 0.5086 GB, free: 3.316 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0072/0.7837, allocations: 5.956 MB / 0.5144 GB, free: 11.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/0.7951, allocations: 8.771 MB / 0.523 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/0.7953, allocations: 40 kB / 0.523 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.0179/0.8132, allocations: 8.572 MB / 0.5314 GB, free: 8.137 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.8134, allocations: 64 kB / 0.5315 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001624/0.8135, allocations: 136.1 kB / 0.5316 GB, free: 7.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/0.816, allocations: 0.9216 MB / 0.5325 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004662/0.8207, allocations: 1.4 MB / 0.5339 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006982/0.8277, allocations: 4.864 MB / 0.5386 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005481/0.8332, allocations: 327.4 kB / 0.5389 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2805/1.114, allocations: 384 kB / 0.5393 GB, free: 172.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (740): * Single equations (assignments): 736 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006157/1.12, allocations: 2.097 MB / 0.5413 GB, free: 172.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.121, allocations: 350.7 kB / 0.5417 GB, free: 172.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006869/1.128, allocations: 3.143 MB / 0.5447 GB, free: 172.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.196e-05/1.128, allocations: 19.2 kB / 0.5448 GB, free: 172.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.128, allocations: 6.188 kB / 0.5448 GB, free: 172.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-05/1.128, allocations: 7.672 kB / 0.5448 GB, free: 172.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/1.144, allocations: 7.828 MB / 0.5524 GB, free: 169.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.144, allocations: 1.375 kB / 0.5524 GB, free: 169.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.146, allocations: 259 kB / 0.5527 GB, free: 169.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001988/1.148, allocations: 0.7143 MB / 0.5534 GB, free: 169.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/1.148, allocations: 39.62 kB / 0.5534 GB, free: 169.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005318/1.153, allocations: 4.419 MB / 0.5577 GB, free: 167.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.153, allocations: 0 / 0.5577 GB, free: 167.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007881/1.161, allocations: 5.678 MB / 0.5633 GB, free: 165.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.163, allocations: 0.628 MB / 0.5639 GB, free: 164.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000397/1.163, allocations: 26.84 kB / 0.5639 GB, free: 164.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.164, allocations: 84.97 kB / 0.564 GB, free: 164.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/1.165, allocations: 95.27 kB / 0.5641 GB, free: 164.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.165, allocations: 60.47 kB / 0.5641 GB, free: 164.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003986/1.169, allocations: 2.602 MB / 0.5667 GB, free: 163.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.169, allocations: 0 / 0.5667 GB, free: 163.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006109/1.175, allocations: 0.9629 MB / 0.5676 GB, free: 163.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (123): * Single equations (assignments): 119 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004906/1.176, allocations: 161.4 kB / 0.5678 GB, free: 163.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007699/1.183, allocations: 5.088 MB / 0.5727 GB, free: 162 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.183, allocations: 3.281 kB / 0.5727 GB, free: 162 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/1.185, allocations: 1.533 MB / 0.5742 GB, free: 160.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/1.188, allocations: 415.7 kB / 0.5746 GB, free: 160.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/1.205, allocations: 11.48 MB / 0.5858 GB, free: 148.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003124/1.208, allocations: 3.247 MB / 0.589 GB, free: 145.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/1.21, allocations: 315.3 kB / 0.5893 GB, free: 145.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/1.21, allocations: 4 kB / 0.5893 GB, free: 145.2 MB / 462.1 MB Notification: Performance of Templates: time 0.1194/1.329, allocations: 75.92 MB / 0.6635 GB, free: 69.09 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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 OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.o] Error 1