Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 206.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.1 MB / 222.6 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3926/0.3926, allocations: 43.49 MB / 313.5 MB, free: 8.348 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.91 kB / 382 MB, free: 8.812 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1338, allocations: 57.79 MB / 439.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.213/0.3469, allocations: 30.06 MB / 469.9 MB, free: 33.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.3598, allocations: 6.873 MB / 476.8 MB, free: 30.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005291/0.3651, allocations: 121.6 kB / 476.9 MB, free: 29.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.3675, allocations: 1.279 MB / 478.1 MB, free: 29.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.3709, allocations: 1.666 MB / 479.8 MB, free: 28.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009202/0.3719, allocations: 462.4 kB / 480.3 MB, free: 28.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004238/0.3761, allocations: 5.133 MB / 485.4 MB, free: 27.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002281/0.3784, allocations: 1.991 MB / 487.4 MB, free: 26.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.3802, allocations: 1.071 MB / 488.5 MB, free: 25.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.3829, allocations: 1.835 MB / 490.3 MB, free: 25.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007871/0.3837, allocations: 170 kB / 490.5 MB, free: 25.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.3863, allocations: 0.938 MB / 491.4 MB, free: 25.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001973/0.3883, allocations: 1.579 MB / 493 MB, free: 24.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002597/0.3909, allocations: 1.883 MB / 494.9 MB, free: 23.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.4012, allocations: 6.009 MB / 0.4891 GB, free: 21.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.4012, allocations: 0.5625 kB / 0.4891 GB, free: 21.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4012, allocations: 1.094 kB / 0.4891 GB, free: 21.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002531/0.4015, allocations: 0 / 0.4891 GB, free: 21.14 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01163/0.4131, allocations: 4.24 MB / 0.4933 GB, free: 18.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4132, allocations: 9.219 kB / 0.4933 GB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.4235, allocations: 3.08 MB / 0.4963 GB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004625/0.4281, allocations: 1.958 MB / 0.4982 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.4283, allocations: 192.2 kB / 0.4984 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008559/0.4292, allocations: 249.8 kB / 0.4986 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/0.445, allocations: 10.71 MB / 0.5091 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.87e-05/0.4451, allocations: 27.72 kB / 0.5091 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003936/0.4455, allocations: 115.8 kB / 0.5092 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003503/0.449, allocations: 2.647 MB / 0.5118 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01721/0.4662, allocations: 10.03 MB / 0.5216 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05888/0.5251, allocations: 35.3 MB / 0.5561 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.5356, allocations: 5.184 MB / 0.5611 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003445/0.5391, allocations: 2.297 MB / 0.5634 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001985/0.5411, allocations: 1.884 MB / 0.5652 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.5412, allocations: 52.78 kB / 0.5653 GB, free: 15.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 1.037e-05/0.5412, allocations: 4 kB / 0.5653 GB, free: 15.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03827/0.5795, allocations: 14.03 MB / 0.579 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.5796, allocations: 77.34 kB / 0.579 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004947/0.5845, allocations: 2.672 MB / 0.5817 GB, free: 14.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003427/0.5849, allocations: 57.7 kB / 0.5817 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/0.5869, allocations: 2.709 MB / 0.5844 GB, free: 11.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.588, allocations: 0.8441 MB / 0.5852 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002181/0.5902, allocations: 1.056 MB / 0.5862 GB, free: 9.457 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.5903, allocations: 305.1 kB / 0.5865 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003349/0.5937, allocations: 2.212 MB / 0.5887 GB, free: 6.938 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/0.5989, allocations: 5.138 MB / 0.5937 GB, free: 376 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009362/0.6083, allocations: 8.058 MB / 0.6015 GB, free: 6.887 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/0.6084, allocations: 35.94 kB / 0.6016 GB, free: 6.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.0157/0.6241, allocations: 7.954 MB / 0.6093 GB, free: 14.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.6243, allocations: 51.98 kB / 0.6094 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/0.6245, allocations: 100.9 kB / 0.6095 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002526/0.627, allocations: 0.797 MB / 0.6103 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004754/0.6318, allocations: 1.209 MB / 0.6115 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006248/0.638, allocations: 4.198 MB / 0.6156 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004445/0.6425, allocations: 295.7 kB / 0.6158 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/0.6436, allocations: 308 kB / 0.6161 GB, free: 7.797 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (644): * Single equations (assignments): 637 * 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.005266/0.6489, allocations: 2.059 MB / 0.6181 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007702/0.6497, allocations: 264.6 kB / 0.6184 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008878/0.6586, allocations: 4.729 MB / 0.623 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.417e-05/0.6587, allocations: 44 kB / 0.6231 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.6587, allocations: 4 kB / 0.6231 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.6587, allocations: 11.95 kB / 0.6231 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/0.6834, allocations: 10.61 MB / 0.6334 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/0.6835, allocations: 11.94 kB / 0.6334 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.6852, allocations: 355.5 kB / 0.6338 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002112/0.6874, allocations: 0.656 MB / 0.6344 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003338/0.6877, allocations: 36 kB / 0.6345 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005182/0.6929, allocations: 3.662 MB / 0.638 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.693, allocations: 13.81 kB / 0.638 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2587/0.9516, allocations: 7.144 MB / 0.645 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/0.9537, allocations: 0.6401 MB / 0.6456 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005121/0.9542, allocations: 43.16 kB / 0.6457 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.9554, allocations: 141.4 kB / 0.6458 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/0.9558, allocations: 130.9 kB / 0.6459 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/0.9559, allocations: 66.52 kB / 0.646 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002671/0.9586, allocations: 1.648 MB / 0.6476 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9586, allocations: 0 / 0.6476 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005456/0.9641, allocations: 0.9464 MB / 0.6485 GB, free: 157.8 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.0005306/0.9646, allocations: 186.4 kB / 0.6487 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007996/0.9726, allocations: 5.385 MB / 0.654 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.9727, allocations: 0 / 0.654 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002749/0.9754, allocations: 2.019 MB / 0.656 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.9779, allocations: 342.2 kB / 0.6563 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.9975, allocations: 11.68 MB / 0.6677 GB, free: 149.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003705/1.001, allocations: 3.236 MB / 0.6708 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004645/1.006, allocations: 1.971 MB / 0.6728 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006978/1.007, allocations: 205.2 kB / 0.673 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.483e-06/1.007, allocations: 2.297 kB / 0.673 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.05328/1.06, allocations: 29.93 MB / 0.7022 GB, free: 132.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches