Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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.001784/0.001784, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002369/0.002369, allocations: 220.5 kB / 24.53 MB, free: 4.008 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.459/1.459, 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.2229/0.2229, allocations: 46.93 MB / 361.6 MB, free: 4.18 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.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 75.89 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2785, allocations: 66.09 MB / 0.5615 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01815/0.2966, allocations: 15.07 MB / 0.5762 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.3075, allocations: 5.093 MB / 0.5812 GB, free: 20 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.3099, allocations: 139.4 kB / 0.5813 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.3216, allocations: 6.063 MB / 0.5873 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006993/0.3286, allocations: 2.817 MB / 0.59 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.3319, allocations: 1.591 MB / 0.5916 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.3428, allocations: 7.799 MB / 0.5992 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007076/0.3499, allocations: 5.397 MB / 0.6044 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.3545, allocations: 2.991 MB / 0.6074 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006206/0.3607, allocations: 4.089 MB / 0.6114 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.3621, allocations: 0.5703 MB / 0.6119 GB, free: 408 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.3649, allocations: 1.44 MB / 0.6133 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003889/0.3688, allocations: 3.615 MB / 0.6169 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004918/0.3738, allocations: 3.845 MB / 0.6206 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01387/0.3876, allocations: 11.68 MB / 0.632 GB, free: 11.73 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3876, allocations: 0 / 0.632 GB, free: 11.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3876, allocations: 0 / 0.632 GB, free: 11.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002821/0.3879, allocations: 0 / 0.632 GB, free: 11.73 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01681/0.4047, allocations: 8.653 MB / 0.6405 GB, free: 3.004 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4048, allocations: 8.031 kB / 0.6405 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001778/0.4049, allocations: 179 kB / 0.6406 GB, free: 2.82 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001688/0.4066, allocations: 1.166 MB / 0.6418 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.4168, allocations: 2.566 MB / 0.6443 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.427, allocations: 5.329 MB / 0.6495 GB, free: 9.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/0.4273, allocations: 422.6 kB / 0.6499 GB, free: 9.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/0.4284, allocations: 0.5388 MB / 0.6504 GB, free: 8.703 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0308/0.4592, allocations: 16.69 MB / 0.6667 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002773/0.4595, allocations: 71.34 kB / 0.6668 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001557/0.461, allocations: 263.8 kB / 0.667 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005101/0.4661, allocations: 2.927 MB / 0.6699 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/0.4948, allocations: 12.78 MB / 0.6824 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5245/1.019, allocations: 64.12 MB / 0.745 GB, free: 110.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/1.034, allocations: 4.889 MB / 0.7498 GB, free: 110 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/1.036, allocations: 2 MB / 0.7517 GB, free: 109.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/1.049, allocations: 8.13 MB / 0.7597 GB, free: 108 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/1.049, allocations: 51.38 kB / 0.7597 GB, free: 107.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.458e-06/1.049, allocations: 0 / 0.7597 GB, free: 107.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03258/1.081, allocations: 14.47 MB / 0.7738 GB, free: 99.57 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/1.081, allocations: 145.8 kB / 0.774 GB, free: 99.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006663/1.088, allocations: 6.339 MB / 0.7802 GB, free: 93.19 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003006/1.088, allocations: 57.7 kB / 0.7802 GB, free: 93.12 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002104/1.09, allocations: 5.276 MB / 0.7854 GB, free: 88.25 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005965/1.091, allocations: 0.8588 MB / 0.7862 GB, free: 87.41 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/1.092, allocations: 1.671 MB / 0.7878 GB, free: 85.73 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/1.092, allocations: 301.1 kB / 0.7881 GB, free: 85.43 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/1.095, allocations: 2.296 MB / 0.7904 GB, free: 83.13 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004406/1.099, allocations: 7.636 MB / 0.7978 GB, free: 73.06 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007734/1.107, allocations: 10.81 MB / 0.8084 GB, free: 59.89 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/1.107, allocations: 56 kB / 0.8084 GB, free: 59.84 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01296/1.12, allocations: 9.59 MB / 0.8178 GB, free: 50.25 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.11e-05/1.12, allocations: 88 kB / 0.8179 GB, free: 50.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/1.12, allocations: 188 kB / 0.8181 GB, free: 49.98 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/1.121, allocations: 251.9 kB / 0.8183 GB, free: 49.73 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004998/1.126, allocations: 1.903 MB / 0.8202 GB, free: 47.83 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001674/1.126, allocations: 366.9 kB / 0.8205 GB, free: 47.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004998/1.131, allocations: 407.6 kB / 0.8209 GB, free: 47.07 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005995/1.131, allocations: 0.5194 MB / 0.8214 GB, free: 46.55 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1027): * Single equations (assignments): 1016 * Array equations: 11 * 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.003861/1.135, allocations: 3.292 MB / 0.8246 GB, free: 43.26 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007876/1.136, allocations: 0.5548 MB / 0.8252 GB, free: 42.7 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/1.137, allocations: 0.6244 MB / 0.8258 GB, free: 42.07 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/1.137, allocations: 23.94 kB / 0.8258 GB, free: 42.04 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.137, allocations: 4 kB / 0.8258 GB, free: 42.04 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/1.137, allocations: 8.438 kB / 0.8258 GB, free: 42.03 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01863/1.156, allocations: 16.44 MB / 0.8419 GB, free: 25.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.352e-05/1.156, allocations: 40 kB / 0.8419 GB, free: 25 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.157, allocations: 383.2 kB / 0.8423 GB, free: 24.62 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.073e-05/1.157, allocations: 52 kB / 0.8423 GB, free: 24.57 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/1.157, allocations: 87.94 kB / 0.8424 GB, free: 24.49 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.431e-05/1.157, allocations: 71.72 kB / 0.8425 GB, free: 24.42 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.353e-05/1.157, allocations: 63.69 kB / 0.8425 GB, free: 24.36 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/1.16, allocations: 3.973 MB / 0.8464 GB, free: 19.83 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009517/1.161, allocations: 0.5624 MB / 0.847 GB, free: 19.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004925/1.162, allocations: 91.95 kB / 0.8471 GB, free: 19.17 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.163, allocations: 103.9 kB / 0.8472 GB, free: 19.07 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/1.164, allocations: 266.7 kB / 0.8474 GB, free: 18.81 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.164, allocations: 104 kB / 0.8475 GB, free: 18.71 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004459/1.168, allocations: 3.959 MB / 0.8514 GB, free: 14.76 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.31e-07/1.168, allocations: 0 / 0.8514 GB, free: 14.76 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0063/1.174, allocations: 1.304 MB / 0.8526 GB, free: 13.46 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.003778/1.178, allocations: 4.684 MB / 0.8572 GB, free: 8.227 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006699/1.185, allocations: 5.161 MB / 0.8623 GB, free: 3.109 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.506e-05/1.185, allocations: 8 kB / 0.8623 GB, free: 3.102 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/1.186, allocations: 1.087 MB / 0.8633 GB, free: 2.023 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/1.191, allocations: 0.858 MB / 0.8642 GB, free: 1.188 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1012/1.292, allocations: 65.18 MB / 0.9278 GB, free: 6.902 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008756/1.301, allocations: 5.051 MB / 0.9328 GB, free: 1.816 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.006284/1.307, allocations: 2.522 MB / 0.9352 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004667/1.312, allocations: 3.276 MB / 0.9384 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/1.312, allocations: 0 / 0.9384 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4286/1.74, allocations: 98.64 MB / 1.035 GB, free: 251.2 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.7/33.44, allocations: 4.062 kB / 1.035 GB, free: 251.2 MB / 0.7013 GB " [Timeout remaining time 626] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 38.51732679398265]