Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001358/0.001358, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001743/0.001743, allocations: 208 kB / 24.53 MB, free: 4.07 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.453/1.453, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2346/0.2346, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 75.88 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2887, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01159/0.3003, allocations: 9.6 MB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006386/0.3067, allocations: 2.952 MB / 0.5737 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.3079, allocations: 55.81 kB / 0.5738 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004085/0.312, allocations: 2.029 MB / 0.5758 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.3148, allocations: 1.137 MB / 0.5769 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.3156, allocations: 287.4 kB / 0.5772 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00333/0.3189, allocations: 2.333 MB / 0.5794 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.3211, allocations: 1.746 MB / 0.5811 GB, free: 56 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.3221, allocations: 0.88 MB / 0.582 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.3238, allocations: 1.258 MB / 0.5832 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003196/0.3241, allocations: 196 kB / 0.5834 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.3253, allocations: 0.7216 MB / 0.5841 GB, free: 13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.3264, allocations: 1.141 MB / 0.5852 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.3277, allocations: 1.316 MB / 0.5865 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004749/0.3324, allocations: 4.326 MB / 0.5908 GB, free: 6.184 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3324, allocations: 0 / 0.5908 GB, free: 6.184 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3324, allocations: 0 / 0.5908 GB, free: 6.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.275e-05/0.3325, allocations: 0 / 0.5908 GB, free: 6.184 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.004775/0.3373, allocations: 2.866 MB / 0.5936 GB, free: 3.273 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3373, allocations: 8.031 kB / 0.5936 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.027e-05/0.3374, allocations: 63.94 kB / 0.5936 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005858/0.338, allocations: 491 kB / 0.5941 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005335/0.3433, allocations: 1.586 MB / 0.5956 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.3461, allocations: 1.271 MB / 0.5969 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.3463, allocations: 151.5 kB / 0.597 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003939/0.3467, allocations: 183.9 kB / 0.5972 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009891/0.3566, allocations: 6.25 MB / 0.6033 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/0.3566, allocations: 11.88 kB / 0.6033 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/0.3569, allocations: 87.91 kB / 0.6034 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/0.3591, allocations: 1.344 MB / 0.6047 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.3693, allocations: 5.329 MB / 0.6099 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02962/0.399, allocations: 19.99 MB / 0.6294 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.4032, allocations: 1.496 MB / 0.6309 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.4042, allocations: 0.6328 MB / 0.6315 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006624/0.4108, allocations: 3.156 MB / 0.6346 GB, free: 8.273 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.4108, allocations: 39 kB / 0.6346 GB, free: 8.227 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.116e-06/0.4108, allocations: 0 / 0.6346 GB, free: 8.227 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005668/0.4165, allocations: 1.99 MB / 0.6366 GB, free: 6.227 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.4166, allocations: 63.84 kB / 0.6366 GB, free: 6.152 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.4196, allocations: 1.946 MB / 0.6385 GB, free: 4.203 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.964e-05/0.4197, allocations: 33.69 kB / 0.6386 GB, free: 4.164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001575/0.4213, allocations: 1.907 MB / 0.6404 GB, free: 2.234 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003832/0.4217, allocations: 333.5 kB / 0.6408 GB, free: 1.906 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009413/0.4226, allocations: 0.6156 MB / 0.6414 GB, free: 1.281 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4228, allocations: 357.9 kB / 0.6417 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.4243, allocations: 0.892 MB / 0.6426 GB, free: 32 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003075/0.4273, allocations: 2.748 MB / 0.6453 GB, free: 12.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004872/0.4322, allocations: 3.976 MB / 0.6491 GB, free: 7.453 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.455e-05/0.4322, allocations: 16 kB / 0.6492 GB, free: 7.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005971/0.4382, allocations: 3.535 MB / 0.6526 GB, free: 3.895 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/0.4383, allocations: 32 kB / 0.6526 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.622e-05/0.4384, allocations: 64 kB / 0.6527 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.4385, allocations: 91.94 kB / 0.6528 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.4404, allocations: 0.655 MB / 0.6534 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001216/0.4405, allocations: 127.5 kB / 0.6535 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.4424, allocations: 433.2 kB / 0.654 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/0.4427, allocations: 188 kB / 0.6541 GB, free: 2.32 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.001971/0.4447, allocations: 1.335 MB / 0.6554 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.4449, allocations: 162.9 kB / 0.6556 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.4453, allocations: 204.8 kB / 0.6558 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.4453, allocations: 15.98 kB / 0.6558 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4453, allocations: 0 / 0.6558 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.4454, allocations: 0 / 0.6558 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006802/0.4522, allocations: 4.001 MB / 0.6597 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.4522, allocations: 8 kB / 0.6597 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.4526, allocations: 99.84 kB / 0.6598 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.4526, allocations: 12 kB / 0.6598 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.4526, allocations: 20 kB / 0.6598 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-05/0.4526, allocations: 23.88 kB / 0.6599 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.4527, allocations: 4 kB / 0.6599 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.4542, allocations: 1.274 MB / 0.6611 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/0.4546, allocations: 182.6 kB / 0.6613 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.4548, allocations: 16 kB / 0.6613 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/0.4553, allocations: 31.92 kB / 0.6613 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.91e-05/0.4554, allocations: 63.73 kB / 0.6614 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.4555, allocations: 28 kB / 0.6614 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001817/0.4573, allocations: 1.275 MB / 0.6627 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4573, allocations: 4 kB / 0.6627 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002424/0.4597, allocations: 0.6775 MB / 0.6633 GB, free: 8.645 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.002293/0.462, allocations: 1.872 MB / 0.6652 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003363/0.4654, allocations: 1.964 MB / 0.6671 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.4654, allocations: 4.062 kB / 0.6671 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006133/0.466, allocations: 437.5 kB / 0.6675 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.4675, allocations: 241.6 kB / 0.6677 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/0.4987, allocations: 20.94 MB / 0.6882 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002953/0.5017, allocations: 2.275 MB / 0.6904 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002242/0.5039, allocations: 0.9559 MB / 0.6913 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/0.5054, allocations: 1.042 MB / 0.6924 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/0.5054, allocations: 0 / 0.6924 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07186/0.5773, allocations: 35.31 MB / 0.7268 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.28, allocations: 2.969 kB / 0.7268 GB, free: 5.086 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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: 19.9366262970143]