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.001257/0.001257, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, 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.1987/0.1987, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 75.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2797, allocations: 62.43 MB / 0.5317 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01142/0.2911, allocations: 12.28 MB / 0.5437 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007067/0.2982, allocations: 3.933 MB / 0.5475 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.2998, allocations: 61.19 kB / 0.5476 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.3025, allocations: 1.318 MB / 0.5488 GB, free: 180 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.3062, allocations: 1.755 MB / 0.5506 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3073, allocations: 499 kB / 0.551 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003997/0.3114, allocations: 3.616 MB / 0.5546 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002469/0.3138, allocations: 2.003 MB / 0.5565 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.3155, allocations: 1.187 MB / 0.5577 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.3176, allocations: 1.709 MB / 0.5593 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005986/0.3183, allocations: 236 kB / 0.5596 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.32, allocations: 0.9438 MB / 0.5605 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001458/0.3215, allocations: 1.57 MB / 0.562 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002204/0.3237, allocations: 1.882 MB / 0.5639 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005693/0.3294, allocations: 6.169 MB / 0.5699 GB, free: 10.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3294, allocations: 3.938 kB / 0.5699 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3294, allocations: 4 kB / 0.5699 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.3296, allocations: 0 / 0.5699 GB, free: 10.52 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.006071/0.3356, allocations: 4.132 MB / 0.5739 GB, free: 6.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3357, allocations: 12.03 kB / 0.5739 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009105/0.3448, allocations: 3.068 MB / 0.5769 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.3479, allocations: 1.869 MB / 0.5788 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.3481, allocations: 189 kB / 0.5789 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004556/0.3485, allocations: 248 kB / 0.5792 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.3614, allocations: 10.49 MB / 0.5894 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.904e-05/0.3615, allocations: 31.7 kB / 0.5895 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.3618, allocations: 119.8 kB / 0.5896 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003522/0.3653, allocations: 2.557 MB / 0.5921 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.3803, allocations: 9.919 MB / 0.6018 GB, free: 9.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03877/0.4191, allocations: 34.26 MB / 0.6352 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008243/0.4274, allocations: 5.187 MB / 0.6403 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002635/0.43, allocations: 2.291 MB / 0.6425 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.4314, allocations: 1.876 MB / 0.6443 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.4315, allocations: 48.56 kB / 0.6444 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 4.027e-06/0.4315, allocations: 0 / 0.6444 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.02827/0.4598, allocations: 14 MB / 0.6581 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.4599, allocations: 77.28 kB / 0.6581 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003595/0.4635, allocations: 2.627 MB / 0.6607 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/0.4637, allocations: 61.7 kB / 0.6608 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.4653, allocations: 2.628 MB / 0.6633 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007946/0.4661, allocations: 0.8479 MB / 0.6642 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.4675, allocations: 1.04 MB / 0.6652 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.4676, allocations: 301.1 kB / 0.6655 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002903/0.4705, allocations: 2.208 MB / 0.6676 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004651/0.4751, allocations: 5.075 MB / 0.6726 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00821/0.4834, allocations: 7.969 MB / 0.6804 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-05/0.4835, allocations: 28 kB / 0.6804 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01213/0.4956, allocations: 7.883 MB / 0.6881 GB, free: 12.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.4957, allocations: 48.22 kB / 0.6881 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.4958, allocations: 108 kB / 0.6882 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.4979, allocations: 0.787 MB / 0.689 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/0.5013, allocations: 1.193 MB / 0.6902 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/0.5066, allocations: 4.52 MB / 0.6946 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.5093, allocations: 295.8 kB / 0.6949 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005406/0.5099, allocations: 304 kB / 0.6951 GB, free: 5.145 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.002774/0.5127, allocations: 2.012 MB / 0.6971 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.5131, allocations: 256.6 kB / 0.6974 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007292/0.5204, allocations: 4.729 MB / 0.702 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.376e-05/0.5204, allocations: 40 kB / 0.702 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.5204, allocations: 7.938 kB / 0.702 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.5205, allocations: 11.95 kB / 0.702 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/0.5361, allocations: 10.5 MB / 0.7123 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.5361, allocations: 12.19 kB / 0.7123 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.5375, allocations: 359.4 kB / 0.7126 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.5394, allocations: 0.656 MB / 0.7133 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/0.5395, allocations: 36.09 kB / 0.7133 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2114/0.7509, allocations: 3.902 MB / 0.7171 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/0.7509, allocations: 10.75 kB / 0.7171 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008915/0.7599, allocations: 7.133 MB / 0.7241 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.7604, allocations: 307.7 kB / 0.7244 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/0.7607, allocations: 49.25 kB / 0.7244 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.7618, allocations: 140.6 kB / 0.7246 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.762, allocations: 131.4 kB / 0.7247 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.7622, allocations: 70.33 kB / 0.7248 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001877/0.7641, allocations: 1.617 MB / 0.7263 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7641, allocations: 0 / 0.7263 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003107/0.7672, allocations: 0.9084 MB / 0.7272 GB, free: 159.5 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.0003442/0.7676, allocations: 183 kB / 0.7274 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005575/0.7731, allocations: 5.393 MB / 0.7327 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.7732, allocations: 3.938 kB / 0.7327 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.7751, allocations: 2.017 MB / 0.7346 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.7765, allocations: 368.9 kB / 0.735 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.7872, allocations: 9.753 MB / 0.7445 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.7895, allocations: 3.171 MB / 0.7476 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/0.7903, allocations: 247 kB / 0.7479 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.7904, allocations: 0 / 0.7479 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.06273/0.8531, allocations: 70.59 MB / 0.8168 GB, free: 76.21 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