Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.001456/0.001456, allocations: 110 kB / 20.43 MB, free: 1.453 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.001629/0.001629, allocations: 213.7 kB / 23.74 MB, free: 4.66 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.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 8 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.2271/0.2271, allocations: 46.92 MB / 360.8 MB, free: 4.191 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.CutTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 83.86 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3226, allocations: 66.08 MB / 0.5607 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01801/0.3407, allocations: 15.09 MB / 0.5755 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.3515, allocations: 5.097 MB / 0.5804 GB, free: 56 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.3537, allocations: 143.4 kB / 0.5806 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0117/0.3654, allocations: 6.071 MB / 0.5865 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007112/0.3725, allocations: 2.812 MB / 0.5893 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.3761, allocations: 1.579 MB / 0.5908 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.3881, allocations: 7.796 MB / 0.5984 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007329/0.3954, allocations: 5.404 MB / 0.6037 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004655/0.4, allocations: 2.987 MB / 0.6066 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006188/0.4062, allocations: 4.093 MB / 0.6106 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.4077, allocations: 0.5703 MB / 0.6112 GB, free: 444 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.4108, allocations: 1.436 MB / 0.6126 GB, free: 15 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004274/0.4151, allocations: 3.619 MB / 0.6161 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005251/0.4204, allocations: 3.841 MB / 0.6198 GB, free: 7.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01478/0.4352, allocations: 11.68 MB / 0.6313 GB, free: 11.77 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4352, allocations: 0 / 0.6313 GB, free: 11.77 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4352, allocations: 3.938 kB / 0.6313 GB, free: 11.77 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003472/0.4355, allocations: 4 kB / 0.6313 GB, free: 11.76 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.01844/0.4539, allocations: 8.645 MB / 0.6397 GB, free: 3.039 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.454, allocations: 12.02 kB / 0.6397 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002378/0.4564, allocations: 1.173 MB / 0.6409 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.4668, allocations: 2.566 MB / 0.6434 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.4783, allocations: 5.317 MB / 0.6486 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003993/0.4787, allocations: 426.6 kB / 0.649 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/0.48, allocations: 0.5388 MB / 0.6495 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03148/0.5115, allocations: 16.68 MB / 0.6658 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001964/0.5117, allocations: 71.39 kB / 0.6659 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009356/0.5126, allocations: 275.7 kB / 0.6661 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004708/0.5173, allocations: 2.924 MB / 0.669 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02867/0.546, allocations: 12.77 MB / 0.6814 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5737/1.12, allocations: 64.11 MB / 0.7441 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/1.133, allocations: 4.775 MB / 0.7487 GB, free: 109.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002226/1.135, allocations: 2.004 MB / 0.7507 GB, free: 109.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/1.147, allocations: 8.132 MB / 0.7586 GB, free: 107.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/1.147, allocations: 51.34 kB / 0.7587 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.308e-06/1.147, allocations: 0 / 0.7587 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.02984/1.177, allocations: 14.37 MB / 0.7727 GB, free: 99.87 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/1.177, allocations: 153.6 kB / 0.7728 GB, free: 99.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006101/1.183, allocations: 6.34 MB / 0.779 GB, free: 93.48 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0001596/1.183, allocations: 49.7 kB / 0.7791 GB, free: 93.42 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001941/1.185, allocations: 5.274 MB / 0.7842 GB, free: 88.55 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004737/1.186, allocations: 0.8602 MB / 0.7851 GB, free: 87.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/1.187, allocations: 1.671 MB / 0.7867 GB, free: 86.02 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.96e-05/1.187, allocations: 309.1 kB / 0.787 GB, free: 85.72 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/1.19, allocations: 2.292 MB / 0.7892 GB, free: 83.42 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004125/1.194, allocations: 7.635 MB / 0.7967 GB, free: 73.36 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007499/1.201, allocations: 10.81 MB / 0.8073 GB, free: 60.18 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-05/1.202, allocations: 56 kB / 0.8073 GB, free: 60.12 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01231/1.214, allocations: 9.592 MB / 0.8167 GB, free: 50.54 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.214, allocations: 88 kB / 0.8168 GB, free: 50.45 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/1.214, allocations: 189.2 kB / 0.8169 GB, free: 50.27 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/1.214, allocations: 252 kB / 0.8172 GB, free: 50.02 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004845/1.219, allocations: 1.899 MB / 0.819 GB, free: 48.12 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001861/1.219, allocations: 374.5 kB / 0.8194 GB, free: 47.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005232/1.225, allocations: 414.9 kB / 0.8198 GB, free: 47.35 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007345/1.225, allocations: 0.5116 MB / 0.8203 GB, free: 46.84 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 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.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]) * 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.004061/1.229, allocations: 3.293 MB / 0.8235 GB, free: 43.54 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008315/1.23, allocations: 0.5576 MB / 0.824 GB, free: 42.98 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009783/1.231, allocations: 0.6244 MB / 0.8247 GB, free: 42.34 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-05/1.231, allocations: 24 kB / 0.8247 GB, free: 42.32 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.231, allocations: 0 / 0.8247 GB, free: 42.32 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/1.231, allocations: 7.969 kB / 0.8247 GB, free: 42.31 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/1.25, allocations: 14.97 MB / 0.8393 GB, free: 26.68 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.351e-05/1.25, allocations: 44 kB / 0.8393 GB, free: 26.64 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.251, allocations: 447.1 kB / 0.8398 GB, free: 26.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.323e-05/1.251, allocations: 68 kB / 0.8398 GB, free: 26.13 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/1.251, allocations: 108 kB / 0.8399 GB, free: 26.03 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.96e-05/1.251, allocations: 87.66 kB / 0.84 GB, free: 25.94 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.631e-05/1.251, allocations: 71.69 kB / 0.8401 GB, free: 25.87 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/1.255, allocations: 4.324 MB / 0.8443 GB, free: 20.84 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.257, allocations: 0.5857 MB / 0.8449 GB, free: 20.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006069/1.257, allocations: 104 kB / 0.845 GB, free: 20.14 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.259, allocations: 119.8 kB / 0.8451 GB, free: 20.03 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/1.259, allocations: 322.4 kB / 0.8454 GB, free: 19.71 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.26, allocations: 124 kB / 0.8455 GB, free: 19.59 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005796/1.265, allocations: 3.948 MB / 0.8494 GB, free: 15.66 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.21e-07/1.265, allocations: 0 / 0.8494 GB, free: 15.66 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007796/1.273, allocations: 1.305 MB / 0.8507 GB, free: 14.35 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.004816/1.278, allocations: 5.07 MB / 0.8556 GB, free: 8.586 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00794/1.286, allocations: 5.216 MB / 0.8607 GB, free: 3.41 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.042e-05/1.286, allocations: 8.188 kB / 0.8607 GB, free: 3.402 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/1.288, allocations: 1.147 MB / 0.8618 GB, free: 2.266 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00597/1.294, allocations: 0.8864 MB / 0.8627 GB, free: 1.395 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1045/1.398, allocations: 65.77 MB / 0.9269 GB, free: 6.289 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008085/1.406, allocations: 5.087 MB / 0.9319 GB, free: 1.164 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.006705/1.413, allocations: 2.538 MB / 0.9344 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005/1.418, allocations: 3.288 MB / 0.9376 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of SimCode: time 1.273e-06/1.418, allocations: 0 / 0.9376 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4043/1.822, allocations: 96.59 MB / 1.032 GB, free: 252.1 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.44/38.27, allocations: 15.09 kB / 1.032 GB, free: 252.1 MB / 0.7013 GB " [Timeout remaining time 622] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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: 42.274419913999736]