Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001294/0.001294, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001456/0.001456, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.715 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.94 MB / 360.8 MB, free: 3.879 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003528/0.003528, allocations: 79.88 kB / 0.4961 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3119, allocations: 66.08 MB / 0.5607 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01103/0.323, allocations: 8.408 MB / 0.5689 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006302/0.3293, allocations: 2.78 MB / 0.5716 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.3307, allocations: 55.81 kB / 0.5717 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004192/0.3349, allocations: 1.943 MB / 0.5736 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.3383, allocations: 1.136 MB / 0.5747 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.3391, allocations: 287.4 kB / 0.5749 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0036/0.3427, allocations: 2.326 MB / 0.5772 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.3455, allocations: 1.73 MB / 0.5789 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.347, allocations: 0.8918 MB / 0.5798 GB, free: 312 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.349, allocations: 1.176 MB / 0.5809 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004457/0.3494, allocations: 192 kB / 0.5811 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.3507, allocations: 0.6084 MB / 0.5817 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.3518, allocations: 1.133 MB / 0.5828 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.3529, allocations: 0.9509 MB / 0.5837 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004795/0.3577, allocations: 4.342 MB / 0.588 GB, free: 7.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3577, allocations: 0 / 0.588 GB, free: 7.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3577, allocations: 0 / 0.588 GB, free: 7.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.765e-05/0.3578, allocations: 3.984 kB / 0.588 GB, free: 7.871 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005363/0.3632, allocations: 2.866 MB / 0.5908 GB, free: 4.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3632, allocations: 8.031 kB / 0.5908 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006738/0.3639, allocations: 487.1 kB / 0.5913 GB, free: 4.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.3691, allocations: 1.574 MB / 0.5928 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/0.3724, allocations: 1.286 MB / 0.594 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.3726, allocations: 147.8 kB / 0.5942 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005171/0.3731, allocations: 187.9 kB / 0.5944 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.3844, allocations: 6.242 MB / 0.6005 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.034e-05/0.3844, allocations: 11.88 kB / 0.6005 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.3847, allocations: 87.91 kB / 0.6006 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002164/0.3869, allocations: 1.344 MB / 0.6019 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.3976, allocations: 5.328 MB / 0.6071 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02988/0.4275, allocations: 19.06 MB / 0.6257 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/0.4316, allocations: 1.485 MB / 0.6271 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.4327, allocations: 0.6367 MB / 0.6278 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007086/0.4398, allocations: 3.02 MB / 0.6307 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.4398, allocations: 39 kB / 0.6307 GB, free: 11.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.697e-06/0.4398, allocations: 3.938 kB / 0.6307 GB, free: 11.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005677/0.4455, allocations: 1.99 MB / 0.6327 GB, free: 9.066 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.4455, allocations: 67.83 kB / 0.6328 GB, free: 8.988 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/0.4484, allocations: 2.05 MB / 0.6348 GB, free: 6.934 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.788e-05/0.4485, allocations: 29.7 kB / 0.6348 GB, free: 6.898 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.4501, allocations: 1.915 MB / 0.6367 GB, free: 4.961 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/0.4505, allocations: 329.5 kB / 0.637 GB, free: 4.637 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008778/0.4514, allocations: 0.6195 MB / 0.6376 GB, free: 4.008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.4516, allocations: 357.9 kB / 0.6379 GB, free: 3.652 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.4531, allocations: 0.8842 MB / 0.6388 GB, free: 2.766 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003213/0.4563, allocations: 2.751 MB / 0.6415 GB, free: 15.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005055/0.4613, allocations: 3.964 MB / 0.6453 GB, free: 10.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.214e-05/0.4614, allocations: 16 kB / 0.6454 GB, free: 10.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00617/0.4675, allocations: 3.546 MB / 0.6488 GB, free: 6.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.4676, allocations: 32 kB / 0.6488 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.21e-05/0.4677, allocations: 68 kB / 0.6489 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.695e-05/0.4678, allocations: 87.94 kB / 0.649 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/0.4697, allocations: 0.6518 MB / 0.6496 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001238/0.4698, allocations: 131.4 kB / 0.6498 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.4717, allocations: 428.9 kB / 0.6502 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/0.472, allocations: 196 kB / 0.6504 GB, free: 5.047 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * 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 0.002053/0.474, allocations: 1.342 MB / 0.6517 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.4743, allocations: 166.8 kB / 0.6518 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.4747, allocations: 196.9 kB / 0.652 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.4747, allocations: 15.94 kB / 0.652 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4747, allocations: 0 / 0.652 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4747, allocations: 3.984 kB / 0.652 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007115/0.4818, allocations: 3.907 MB / 0.6558 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.4818, allocations: 11.98 kB / 0.6559 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.4822, allocations: 99.83 kB / 0.6559 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/0.4823, allocations: 12.78 kB / 0.656 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/0.4823, allocations: 23.98 kB / 0.656 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.371e-05/0.4823, allocations: 15.94 kB / 0.656 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.4823, allocations: 11.94 kB / 0.656 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.4841, allocations: 1.267 MB / 0.6572 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/0.4845, allocations: 182.6 kB / 0.6574 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.4847, allocations: 15.98 kB / 0.6574 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.4852, allocations: 27.98 kB / 0.6575 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4853, allocations: 63.73 kB / 0.6575 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.4853, allocations: 32 kB / 0.6576 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00201/0.4873, allocations: 1.263 MB / 0.6588 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4873, allocations: 0 / 0.6588 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00256/0.4899, allocations: 0.6968 MB / 0.6595 GB, free: 11.45 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * 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 0.002284/0.4922, allocations: 1.869 MB / 0.6613 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003206/0.4954, allocations: 1.963 MB / 0.6632 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.4954, allocations: 0 / 0.6632 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006284/0.496, allocations: 438.7 kB / 0.6636 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.4973, allocations: 235.3 kB / 0.6639 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03214/0.5294, allocations: 20.95 MB / 0.6843 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/0.5321, allocations: 1.704 MB / 0.686 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002174/0.5343, allocations: 0.9558 MB / 0.6869 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/0.536, allocations: 1.042 MB / 0.6879 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of SimCode: time 1.353e-06/0.536, allocations: 0 / 0.6879 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07413/0.6101, allocations: 32.9 MB / 0.7201 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.08, allocations: 4 kB / 0.7201 GB, free: 11.05 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.395180974155664]