Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001422, allocations: 113.7 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 206.7 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 83.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3042, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01227/0.3165, allocations: 12.27 MB / 0.5436 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008759/0.3253, allocations: 3.933 MB / 0.5475 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.3274, allocations: 60.75 kB / 0.5475 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002963/0.3304, allocations: 1.321 MB / 0.5488 GB, free: 40 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.3349, allocations: 1.719 MB / 0.5505 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3363, allocations: 499 kB / 0.551 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004814/0.3411, allocations: 3.617 MB / 0.5545 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.344, allocations: 2.009 MB / 0.5565 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.3459, allocations: 1.191 MB / 0.5576 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.3485, allocations: 1.709 MB / 0.5593 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000775/0.3493, allocations: 232 kB / 0.5595 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.3515, allocations: 0.9361 MB / 0.5605 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001799/0.3533, allocations: 1.578 MB / 0.562 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002723/0.3561, allocations: 1.875 MB / 0.5638 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007161/0.3633, allocations: 6.175 MB / 0.5699 GB, free: 10.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3633, allocations: 4 kB / 0.5699 GB, free: 10.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3633, allocations: 0 / 0.5699 GB, free: 10.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000235/0.3636, allocations: 0 / 0.5699 GB, free: 10.49 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.009082/0.3726, allocations: 4.128 MB / 0.5739 GB, free: 6.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3727, allocations: 16.03 kB / 0.5739 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.3838, allocations: 3.064 MB / 0.5769 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003936/0.3878, allocations: 1.872 MB / 0.5787 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.388, allocations: 189 kB / 0.5789 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.3891, allocations: 252 kB / 0.5791 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/0.4068, allocations: 10.48 MB / 0.5894 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.407, allocations: 27.72 kB / 0.5894 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009574/0.408, allocations: 115.8 kB / 0.5895 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004434/0.4124, allocations: 2.557 MB / 0.592 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/0.4309, allocations: 9.915 MB / 0.6017 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04762/0.4785, allocations: 34.27 MB / 0.6352 GB, free: 6.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009402/0.488, allocations: 5.179 MB / 0.6402 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003052/0.4911, allocations: 2.296 MB / 0.6425 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001619/0.4927, allocations: 1.884 MB / 0.6443 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.4928, allocations: 60.53 kB / 0.6444 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.69e-06/0.4928, allocations: 0 / 0.6444 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03294/0.5257, allocations: 13.99 MB / 0.658 GB, free: 14.16 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.5258, allocations: 73.34 kB / 0.6581 GB, free: 14.07 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003973/0.5298, allocations: 2.627 MB / 0.6607 GB, free: 11.43 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003184/0.5302, allocations: 57.7 kB / 0.6607 GB, free: 11.36 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.5319, allocations: 2.632 MB / 0.6633 GB, free: 8.691 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/0.533, allocations: 0.8479 MB / 0.6641 GB, free: 7.832 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/0.5348, allocations: 1.04 MB / 0.6651 GB, free: 6.781 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.5349, allocations: 309.1 kB / 0.6654 GB, free: 6.477 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003213/0.5381, allocations: 2.2 MB / 0.6676 GB, free: 4.27 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005085/0.5432, allocations: 5.075 MB / 0.6725 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009218/0.5524, allocations: 7.965 MB / 0.6803 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/0.5526, allocations: 28 kB / 0.6803 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01438/0.567, allocations: 7.887 MB / 0.688 GB, free: 12.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.619e-05/0.5671, allocations: 48.94 kB / 0.6881 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/0.5673, allocations: 96 kB / 0.6882 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/0.5696, allocations: 0.7889 MB / 0.6889 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003941/0.5736, allocations: 1.197 MB / 0.6901 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/0.5793, allocations: 4.516 MB / 0.6945 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/0.5825, allocations: 295.9 kB / 0.6948 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008219/0.5834, allocations: 299.9 kB / 0.6951 GB, free: 5.125 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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 (635): * Single equations (assignments): 628 * Array equations: 6 * 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 prepare postOptimizeDAE: time 0.003609/0.587, allocations: 2.02 MB / 0.6971 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005516/0.5876, allocations: 260.6 kB / 0.6973 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008138/0.5957, allocations: 4.721 MB / 0.7019 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.148e-05/0.5958, allocations: 44.08 kB / 0.702 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.5958, allocations: 11.88 kB / 0.702 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/0.5959, allocations: 11.95 kB / 0.702 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/0.6146, allocations: 10.49 MB / 0.7122 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/0.6147, allocations: 8.906 kB / 0.7122 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.6164, allocations: 363.4 kB / 0.7126 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.6184, allocations: 0.6599 MB / 0.7132 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002698/0.6187, allocations: 44 kB / 0.7133 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2804/0.8992, allocations: 3.889 MB / 0.7171 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-05/0.8992, allocations: 12.03 kB / 0.7171 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.91, allocations: 7.136 MB / 0.7241 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006922/0.9107, allocations: 307.9 kB / 0.7244 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003799/0.9111, allocations: 46.88 kB / 0.7244 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.9123, allocations: 146.9 kB / 0.7245 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.9127, allocations: 129.1 kB / 0.7247 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.9129, allocations: 68.97 kB / 0.7247 GB, free: 160 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002183/0.915, allocations: 1.614 MB / 0.7263 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.915, allocations: 0 / 0.7263 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003561/0.9186, allocations: 0.9107 MB / 0.7272 GB, free: 159.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000492/0.9191, allocations: 189.9 kB / 0.7274 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006424/0.9256, allocations: 5.388 MB / 0.7326 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.9256, allocations: 0 / 0.7326 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/0.9278, allocations: 2.027 MB / 0.7346 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.9297, allocations: 356.2 kB / 0.735 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.9431, allocations: 9.766 MB / 0.7445 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002719/0.9459, allocations: 3.165 MB / 0.7476 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.9469, allocations: 251.2 kB / 0.7478 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.9469, allocations: 0 / 0.7478 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.07615/1.023, allocations: 70.58 MB / 0.8167 GB, free: 76.18 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches