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.001173/0.001173, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.11 MB / 344.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 80.98 kB / 418.3 MB, free: 19.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1119, allocations: 62.45 MB / 480.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01277/0.1247, allocations: 12.26 MB / 493 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008015/0.1328, allocations: 3.943 MB / 496.9 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.1349, allocations: 67.81 kB / 497 MB, free: 5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.138, allocations: 1.311 MB / 498.3 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.1422, allocations: 1.724 MB / 0.4883 GB, free: 1.953 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.1435, allocations: 491 kB / 0.4888 GB, free: 1.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004491/0.148, allocations: 3.599 MB / 0.4923 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/0.1509, allocations: 2.009 MB / 0.4942 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.1531, allocations: 1.183 MB / 0.4954 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.1556, allocations: 1.709 MB / 0.4971 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008894/0.1565, allocations: 236 kB / 0.4973 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.1589, allocations: 0.9399 MB / 0.4982 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001919/0.1608, allocations: 1.57 MB / 0.4997 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002968/0.1638, allocations: 1.875 MB / 0.5016 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.215/0.3788, allocations: 5.887 MB / 0.5073 GB, free: 18.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.3788, allocations: 0 / 0.5073 GB, free: 18.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3789, allocations: 0 / 0.5073 GB, free: 18.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002488/0.3791, allocations: 0 / 0.5073 GB, free: 18.41 MB / 382.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.01156/0.3907, allocations: 4.127 MB / 0.5113 GB, free: 16.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.3908, allocations: 10.72 kB / 0.5114 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/0.4029, allocations: 3.072 MB / 0.5144 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005525/0.4085, allocations: 1.859 MB / 0.5162 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.4088, allocations: 187.1 kB / 0.5164 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/0.4105, allocations: 249.2 kB / 0.5166 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/0.4299, allocations: 10.49 MB / 0.5268 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.4301, allocations: 30 kB / 0.5269 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006725/0.4308, allocations: 114.1 kB / 0.527 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004392/0.4352, allocations: 2.556 MB / 0.5295 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/0.4533, allocations: 9.923 MB / 0.5392 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05102/0.5044, allocations: 34.47 MB / 0.5728 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.5146, allocations: 5.19 MB / 0.5779 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003508/0.5181, allocations: 2.296 MB / 0.5801 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/0.5199, allocations: 1.875 MB / 0.582 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.52, allocations: 52.56 kB / 0.582 GB, free: 11.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 6.462e-06/0.52, allocations: 0 / 0.582 GB, free: 11.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03399/0.554, allocations: 13.97 MB / 0.5957 GB, free: 13.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.5541, allocations: 81.39 kB / 0.5957 GB, free: 12.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/0.5578, allocations: 2.63 MB / 0.5983 GB, free: 10.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004295/0.5582, allocations: 57.69 kB / 0.5984 GB, free: 10.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00174/0.56, allocations: 2.621 MB / 0.6009 GB, free: 7.652 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.5611, allocations: 0.8514 MB / 0.6018 GB, free: 6.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001463/0.5625, allocations: 1.039 MB / 0.6028 GB, free: 5.762 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5627, allocations: 301.1 kB / 0.6031 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00325/0.5659, allocations: 2.204 MB / 0.6052 GB, free: 3.254 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005616/0.5716, allocations: 5.076 MB / 0.6102 GB, free: 12.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.5816, allocations: 7.975 MB / 0.6179 GB, free: 3.859 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.5818, allocations: 31.38 kB / 0.618 GB, free: 3.832 MB / 462.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01501/0.5968, allocations: 7.889 MB / 0.6257 GB, free: 12.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.74e-05/0.5969, allocations: 48 kB / 0.6257 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/0.5971, allocations: 100 kB / 0.6258 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.5994, allocations: 0.793 MB / 0.6266 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/0.6035, allocations: 1.185 MB / 0.6278 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006017/0.6095, allocations: 4.529 MB / 0.6322 GB, free: 5.578 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003761/0.6134, allocations: 296.6 kB / 0.6325 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.6144, allocations: 300 kB / 0.6327 GB, free: 5 MB / 478.1 MB 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.004249/0.6187, allocations: 2.015 MB / 0.6347 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007004/0.6194, allocations: 260.6 kB / 0.635 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008798/0.6282, allocations: 4.721 MB / 0.6396 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.92e-05/0.6283, allocations: 46.72 kB / 0.6396 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.6283, allocations: 4 kB / 0.6396 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.692e-05/0.6284, allocations: 13.44 kB / 0.6396 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02016/0.6486, allocations: 10.54 MB / 0.6499 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/0.6486, allocations: 4 kB / 0.6499 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.6504, allocations: 360.3 kB / 0.6503 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/0.6525, allocations: 0.66 MB / 0.6509 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004168/0.6529, allocations: 47.92 kB / 0.651 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/0.658, allocations: 3.903 MB / 0.6548 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.658, allocations: 8 kB / 0.6548 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.6692, allocations: 7.146 MB / 0.6618 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007252/0.67, allocations: 301.7 kB / 0.6621 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000795/0.6708, allocations: 47.97 kB / 0.6621 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.6725, allocations: 135.8 kB / 0.6622 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004957/0.673, allocations: 133 kB / 0.6624 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/0.6733, allocations: 66.17 kB / 0.6624 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002926/0.6762, allocations: 1.623 MB / 0.664 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6763, allocations: 0 / 0.664 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004975/0.6812, allocations: 0.9134 MB / 0.6649 GB, free: 3.668 MB / 0.4981 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.0008048/0.6821, allocations: 182.2 kB / 0.6651 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01412/0.6962, allocations: 8.672 MB / 0.6735 GB, free: 10.82 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.6963, allocations: 4 kB / 0.6735 GB, free: 10.82 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003267/0.6995, allocations: 2.019 MB / 0.6755 GB, free: 8.793 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.7025, allocations: 372.3 kB / 0.6759 GB, free: 8.438 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/0.7216, allocations: 9.866 MB / 0.6855 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004984/0.7266, allocations: 3.163 MB / 0.6886 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.7278, allocations: 247.4 kB / 0.6888 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.7278, allocations: 0 / 0.6888 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.2856/1.013, allocations: 70.05 MB / 0.7572 GB, free: 171.3 MB / 0.545 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