Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 117.9 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.001153/0.001153, allocations: 210.8 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.326/1.326, 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.202/0.202, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 75.86 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3433, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01406/0.3574, allocations: 12.64 MB / 0.544 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008199/0.3656, allocations: 4.065 MB / 0.548 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.3676, allocations: 68.88 kB / 0.5481 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003605/0.3713, allocations: 1.836 MB / 0.5499 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004023/0.3754, allocations: 1.759 MB / 0.5516 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.3767, allocations: 499 kB / 0.552 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004516/0.3812, allocations: 3.767 MB / 0.5557 GB, free: 9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003587/0.3848, allocations: 2.864 MB / 0.5585 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.3868, allocations: 1.347 MB / 0.5598 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.3894, allocations: 1.869 MB / 0.5617 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007851/0.3902, allocations: 284 kB / 0.5619 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.3925, allocations: 1.092 MB / 0.563 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.3942, allocations: 1.738 MB / 0.5647 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002405/0.3966, allocations: 2.061 MB / 0.5667 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006518/0.4031, allocations: 6.876 MB / 0.5734 GB, free: 6.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4032, allocations: 0 / 0.5734 GB, free: 6.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4032, allocations: 0 / 0.5734 GB, free: 6.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001831/0.4034, allocations: 0 / 0.5734 GB, free: 6.77 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: 1622 * Number of variables: 1622 Notification: Performance of Generate backend data structure: time 0.01043/0.4138, allocations: 4.781 MB / 0.5781 GB, free: 1.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4139, allocations: 8.031 kB / 0.5781 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/0.4239, allocations: 3.111 MB / 0.5811 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/0.4279, allocations: 2.056 MB / 0.5831 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.4281, allocations: 217.8 kB / 0.5834 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009478/0.4291, allocations: 284 kB / 0.5836 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/0.4449, allocations: 10.96 MB / 0.5943 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.201e-05/0.445, allocations: 23.81 kB / 0.5944 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006009/0.4456, allocations: 131.8 kB / 0.5945 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003588/0.4492, allocations: 2.507 MB / 0.5969 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.4667, allocations: 10.28 MB / 0.607 GB, free: 3.824 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04743/0.5141, allocations: 34.88 MB / 0.641 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007488/0.5216, allocations: 4.297 MB / 0.6452 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.5244, allocations: 2.111 MB / 0.6473 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.5255, allocations: 1.311 MB / 0.6486 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.5256, allocations: 60.5 kB / 0.6486 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 7.124e-06/0.5256, allocations: 0 / 0.6486 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=256): time 0.04198/0.5676, allocations: 13.64 MB / 0.6619 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.5677, allocations: 77.34 kB / 0.662 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/0.5717, allocations: 2.742 MB / 0.6647 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003756/0.5721, allocations: 57.64 kB / 0.6647 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/0.5739, allocations: 2.825 MB / 0.6675 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.575, allocations: 0.9482 MB / 0.6684 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001907/0.5769, allocations: 1.131 MB / 0.6695 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.577, allocations: 305.1 kB / 0.6698 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/0.5803, allocations: 2.307 MB / 0.6721 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005336/0.5857, allocations: 5.399 MB / 0.6774 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009501/0.5952, allocations: 8.454 MB / 0.6856 GB, free: 14.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/0.5953, allocations: 32 kB / 0.6856 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02137/0.6167, allocations: 8.428 MB / 0.6939 GB, free: 6.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.6169, allocations: 51.94 kB / 0.6939 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002028/0.6171, allocations: 111.9 kB / 0.694 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005016/0.6221, allocations: 1.036 MB / 0.695 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006367/0.6285, allocations: 1.294 MB / 0.6963 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/0.6327, allocations: 2.608 MB / 0.6988 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/0.6364, allocations: 307.7 kB / 0.6991 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/0.6374, allocations: 324 kB / 0.6995 GB, free: 480 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (705): * Single equations (assignments): 696 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004458/0.6419, allocations: 2.174 MB / 0.7016 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007273/0.6426, allocations: 280.4 kB / 0.7018 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/0.6528, allocations: 4.966 MB / 0.7067 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-05/0.6529, allocations: 11.95 kB / 0.7067 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.6529, allocations: 0 / 0.7067 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/0.6536, allocations: 305.4 kB / 0.707 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005931/0.6542, allocations: 40 kB / 0.707 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.6555, allocations: 131.8 kB / 0.7072 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/0.6559, allocations: 125.8 kB / 0.7073 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007299/0.6632, allocations: 4.218 MB / 0.7114 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2741/0.9373, allocations: 6.519 MB / 0.7178 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001965/0.9393, allocations: 1.801 MB / 0.7195 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002745/0.942, allocations: 1.67 MB / 0.7212 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of Backend: time 8.82e-07/0.9421, allocations: 0 / 0.7212 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008689/0.9508, allocations: 4.724 MB / 0.7258 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01056/0.9613, allocations: 9.426 MB / 0.735 GB, free: 156 MB / 0.5606 GB Notification: Performance of Templates: time 0.05902/1.02, allocations: 43.69 MB / 0.7776 GB, free: 116.7 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches