Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001317, allocations: 108.8 kB / 16.64 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 186.5 kB / 17.56 MB, free: 5.922 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.319/1.319, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2178/0.2178, allocations: 43.51 MB / 314.3 MB, free: 0.6992 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.00166/0.00166, allocations: 65.25 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09962, allocations: 57.8 MB / 440.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03215/0.1318, allocations: 34.74 MB / 475.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01765/0.1495, allocations: 7.801 MB / 483.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006938/0.1565, allocations: 143.6 kB / 483.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004227/0.1608, allocations: 1.866 MB / 485.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004823/0.1657, allocations: 1.541 MB / 486.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.1675, allocations: 0.5812 MB / 487.3 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004788/0.1723, allocations: 3.377 MB / 490.7 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003767/0.1761, allocations: 2.724 MB / 493.4 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/0.1785, allocations: 1.265 MB / 494.7 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.1813, allocations: 1.869 MB / 496.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008642/0.1822, allocations: 256 kB / 496.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.1845, allocations: 1.038 MB / 497.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002048/0.1866, allocations: 1.601 MB / 499.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003385/0.19, allocations: 1.856 MB / 0.4896 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005979/0.196, allocations: 4.588 MB / 0.494 GB, free: 5.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.196, allocations: 0 / 0.494 GB, free: 5.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.196, allocations: 0 / 0.494 GB, free: 5.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002531/0.1963, allocations: 0 / 0.494 GB, free: 5.812 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01027/0.2066, allocations: 4.03 MB / 0.498 GB, free: 1.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.2066, allocations: 11.89 kB / 0.498 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006739/0.2134, allocations: 1.774 MB / 0.4997 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004427/0.2179, allocations: 1.963 MB / 0.5016 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.2181, allocations: 193.2 kB / 0.5018 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/0.2193, allocations: 263.7 kB / 0.5021 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.2358, allocations: 8.428 MB / 0.5103 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001676/0.2361, allocations: 39.59 kB / 0.5103 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009361/0.237, allocations: 127.9 kB / 0.5105 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003014/0.24, allocations: 1.699 MB / 0.5121 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.2545, allocations: 7.102 MB / 0.5191 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2436/0.4981, allocations: 34.15 MB / 0.5524 GB, free: 67.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007138/0.5053, allocations: 3.284 MB / 0.5556 GB, free: 65.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.5073, allocations: 1.458 MB / 0.557 GB, free: 65.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006951/0.5143, allocations: 4.361 MB / 0.5613 GB, free: 62.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.5144, allocations: 49.23 kB / 0.5613 GB, free: 62.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.789e-06/0.5144, allocations: 2.75 kB / 0.5613 GB, free: 62.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02802/0.5424, allocations: 11.55 MB / 0.5726 GB, free: 56.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.5425, allocations: 172.3 kB / 0.5728 GB, free: 56.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005119/0.5477, allocations: 3.727 MB / 0.5764 GB, free: 53.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002925/0.548, allocations: 45.7 kB / 0.5765 GB, free: 53.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.5495, allocations: 2.753 MB / 0.5792 GB, free: 50.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007094/0.5503, allocations: 0.5235 MB / 0.5797 GB, free: 49.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001917/0.5522, allocations: 1.083 MB / 0.5807 GB, free: 48.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.5523, allocations: 305.1 kB / 0.581 GB, free: 48.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/0.5545, allocations: 1.701 MB / 0.5827 GB, free: 46.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003513/0.558, allocations: 5.131 MB / 0.5877 GB, free: 40.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006222/0.5643, allocations: 7.412 MB / 0.5949 GB, free: 30.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/0.5645, allocations: 36 kB / 0.595 GB, free: 30.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.011/0.5755, allocations: 6.726 MB / 0.6015 GB, free: 24.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.5757, allocations: 56 kB / 0.6016 GB, free: 24.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/0.5758, allocations: 124 kB / 0.6017 GB, free: 23.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.5765, allocations: 324.6 kB / 0.602 GB, free: 23.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003735/0.5803, allocations: 1.248 MB / 0.6032 GB, free: 22.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.5825, allocations: 2.495 MB / 0.6057 GB, free: 19.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/0.5864, allocations: 291.5 kB / 0.6059 GB, free: 19.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008627/0.5873, allocations: 336 kB / 0.6063 GB, free: 19.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * Array equations: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003182/0.5905, allocations: 1.805 MB / 0.608 GB, free: 17.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006782/0.5912, allocations: 312 kB / 0.6083 GB, free: 17.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/0.5958, allocations: 2.355 MB / 0.6106 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-05/0.5959, allocations: 19.94 kB / 0.6106 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/0.5959, allocations: 7.562 kB / 0.6107 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/0.596, allocations: 11.92 kB / 0.6107 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.6078, allocations: 5.915 MB / 0.6164 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.6079, allocations: 4.062 kB / 0.6164 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/0.6087, allocations: 179.7 kB / 0.6166 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002/0.6107, allocations: 0.7108 MB / 0.6173 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.6109, allocations: 23.94 kB / 0.6173 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004842/0.6158, allocations: 4.819 MB / 0.622 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6158, allocations: 0 / 0.622 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006427/0.6223, allocations: 4.331 MB / 0.6263 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/0.6239, allocations: 0.5244 MB / 0.6268 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008027/0.6247, allocations: 27.61 kB / 0.6268 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/0.6264, allocations: 67.91 kB / 0.6269 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.6267, allocations: 72.56 kB / 0.6269 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.6269, allocations: 41.81 kB / 0.627 GB, free: 13.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004354/0.6312, allocations: 2.331 MB / 0.6293 GB, free: 11.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.6313, allocations: 0 / 0.6293 GB, free: 11.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005057/0.6363, allocations: 0.819 MB / 0.6301 GB, free: 10.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005599/0.6369, allocations: 152.4 kB / 0.6302 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007529/0.6445, allocations: 4.411 MB / 0.6345 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.6445, allocations: 0 / 0.6345 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.6462, allocations: 1.117 MB / 0.6356 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.6495, allocations: 393.2 kB / 0.636 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.6663, allocations: 9.35 MB / 0.6451 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003999/0.6703, allocations: 2.782 MB / 0.6478 GB, free: 8.371 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009714/0.6714, allocations: 251.4 kB / 0.6481 GB, free: 8.125 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6714, allocations: 0 / 0.6481 GB, free: 8.125 MB / 446.1 MB Notification: Performance of Templates: time 0.09302/0.7644, allocations: 64 MB / 0.7106 GB, free: 8.09 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches