Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001204/0.001204, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 75.88 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3184, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01566/0.3341, allocations: 14.95 MB / 0.5463 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009203/0.3433, allocations: 4.418 MB / 0.5506 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.3457, allocations: 79.88 kB / 0.5507 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004429/0.3501, allocations: 2.219 MB / 0.5528 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005112/0.3553, allocations: 1.988 MB / 0.5548 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.357, allocations: 0.6083 MB / 0.5554 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005655/0.3626, allocations: 4.305 MB / 0.5596 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004116/0.3668, allocations: 3.161 MB / 0.5627 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.3697, allocations: 1.596 MB / 0.5642 GB, free: 248 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003759/0.3735, allocations: 2.219 MB / 0.5664 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.3748, allocations: 344 kB / 0.5667 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.3776, allocations: 1.03 MB / 0.5677 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002351/0.38, allocations: 1.971 MB / 0.5696 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003788/0.3838, allocations: 2.38 MB / 0.572 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00861/0.3924, allocations: 7.736 MB / 0.5795 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3924, allocations: 0 / 0.5795 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3924, allocations: 4 kB / 0.5795 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002654/0.3927, allocations: 0 / 0.5795 GB, free: 0.5117 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01014/0.4028, allocations: 5.05 MB / 0.5845 GB, free: 11.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4029, allocations: 11.97 kB / 0.5845 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.4131, allocations: 3.192 MB / 0.5876 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004697/0.4178, allocations: 2.381 MB / 0.5899 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.418, allocations: 242.6 kB / 0.5901 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007327/0.4187, allocations: 335.6 kB / 0.5905 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/0.4375, allocations: 12.24 MB / 0.6024 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.4377, allocations: 35.64 kB / 0.6024 GB, free: 8.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000409/0.4381, allocations: 155.8 kB / 0.6026 GB, free: 8.211 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004529/0.4426, allocations: 2.844 MB / 0.6054 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/0.4629, allocations: 11.13 MB / 0.6162 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05789/0.5208, allocations: 40.49 MB / 0.6558 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009063/0.5299, allocations: 4.687 MB / 0.6604 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003699/0.5337, allocations: 2.444 MB / 0.6627 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.5351, allocations: 1.315 MB / 0.664 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.5351, allocations: 56.56 kB / 0.6641 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 6.171e-06/0.5351, allocations: 0 / 0.6641 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04582/0.581, allocations: 18.69 MB / 0.6823 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.5811, allocations: 73.41 kB / 0.6824 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005434/0.5865, allocations: 3.171 MB / 0.6855 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004935/0.587, allocations: 61.7 kB / 0.6856 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002402/0.5894, allocations: 3.117 MB / 0.6886 GB, free: 14.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/0.5906, allocations: 0.9674 MB / 0.6895 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002367/0.5929, allocations: 1.187 MB / 0.6907 GB, free: 12.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.5931, allocations: 301.1 kB / 0.691 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003642/0.5967, allocations: 2.467 MB / 0.6934 GB, free: 9.434 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005721/0.6024, allocations: 5.723 MB / 0.699 GB, free: 2.105 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/0.6127, allocations: 8.996 MB / 0.7078 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.552e-05/0.6129, allocations: 32 kB / 0.7078 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01698/0.6299, allocations: 9.004 MB / 0.7166 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.6301, allocations: 52 kB / 0.7167 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002206/0.6303, allocations: 120.1 kB / 0.7168 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/0.6335, allocations: 1.05 MB / 0.7178 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/0.6382, allocations: 1.345 MB / 0.7191 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007609/0.6459, allocations: 5.545 MB / 0.7245 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004385/0.6503, allocations: 323.7 kB / 0.7248 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000989/0.6513, allocations: 343.9 kB / 0.7252 GB, free: 5.555 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (729): * Single equations (assignments): 722 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004798/0.6561, allocations: 2.409 MB / 0.7275 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000919/0.6571, allocations: 312 kB / 0.7278 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2477/0.9047, allocations: 5.367 MB / 0.733 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.98e-05/0.9048, allocations: 11.53 kB / 0.7331 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.9048, allocations: 0.5 kB / 0.7331 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005524/0.9054, allocations: 344.9 kB / 0.7334 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/0.9059, allocations: 34.5 kB / 0.7334 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009974/0.9069, allocations: 139.8 kB / 0.7336 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/0.9072, allocations: 145.5 kB / 0.7337 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007364/0.9145, allocations: 4.728 MB / 0.7383 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007603/0.9222, allocations: 6.943 MB / 0.7451 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001744/0.9239, allocations: 1.928 MB / 0.747 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002163/0.9261, allocations: 1.943 MB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of Backend: time 3.41e-07/0.9261, allocations: 0 / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006158/0.9323, allocations: 4.511 MB / 0.7533 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0114/0.9437, allocations: 10.1 MB / 0.7631 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.06379/1.007, allocations: 47.48 MB / 0.8095 GB, free: 113.7 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches