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.001155/0.001155, allocations: 102.7 kB / 16.41 MB, free: 6.445 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.001238/0.001238, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.384/1.384, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2171/0.2171, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001544/0.001544, allocations: 65.47 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1524, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01511/0.1676, allocations: 10.28 MB / 0.4979 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.1778, allocations: 3.787 MB / 0.5016 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.1806, allocations: 59.81 kB / 0.5017 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004996/0.1856, allocations: 1.939 MB / 0.5036 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005689/0.1914, allocations: 1.7 MB / 0.5052 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.1934, allocations: 0.6121 MB / 0.5058 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005957/0.1994, allocations: 3.349 MB / 0.5091 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004423/0.2038, allocations: 2.58 MB / 0.5116 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.2069, allocations: 1.25 MB / 0.5128 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003459/0.2104, allocations: 1.682 MB / 0.5145 GB, free: 396 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.2116, allocations: 256 kB / 0.5147 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.2146, allocations: 1.026 MB / 0.5157 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002537/0.2171, allocations: 1.586 MB / 0.5173 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004098/0.2212, allocations: 1.829 MB / 0.5191 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009271/0.2305, allocations: 5.831 MB / 0.5248 GB, free: 5.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2306, allocations: 0 / 0.5248 GB, free: 5.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2306, allocations: 0 / 0.5248 GB, free: 5.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000156/0.2307, allocations: 0 / 0.5248 GB, free: 5.828 MB / 414.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.01073/0.2415, allocations: 4.022 MB / 0.5287 GB, free: 1.738 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.2416, allocations: 19.88 kB / 0.5287 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3638/0.6053, allocations: 1.771 MB / 0.5304 GB, free: 37.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005158/0.6106, allocations: 1.997 MB / 0.5324 GB, free: 36.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.6108, allocations: 189.5 kB / 0.5326 GB, free: 36.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009145/0.6118, allocations: 257.6 kB / 0.5328 GB, free: 36.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.6308, allocations: 8.435 MB / 0.5411 GB, free: 33.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.631, allocations: 40.52 kB / 0.5411 GB, free: 33.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004639/0.6314, allocations: 130 kB / 0.5412 GB, free: 33.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003999/0.6354, allocations: 1.689 MB / 0.5429 GB, free: 33.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/0.6552, allocations: 7.105 MB / 0.5498 GB, free: 30.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04203/0.6974, allocations: 34.03 MB / 0.583 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00786/0.7053, allocations: 3.271 MB / 0.5862 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.7075, allocations: 1.471 MB / 0.5877 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008138/0.7157, allocations: 4.364 MB / 0.5919 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.7158, allocations: 47.11 kB / 0.592 GB, free: 7.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.799e-06/0.7158, allocations: 0 / 0.592 GB, free: 7.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02995/0.7457, allocations: 11.55 MB / 0.6033 GB, free: 11.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.7459, allocations: 166.9 kB / 0.6034 GB, free: 11.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005643/0.7516, allocations: 3.733 MB / 0.6071 GB, free: 7.754 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.7517, allocations: 45.61 kB / 0.6071 GB, free: 7.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.7537, allocations: 2.752 MB / 0.6098 GB, free: 4.914 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/0.7542, allocations: 0.5209 MB / 0.6103 GB, free: 4.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/0.7556, allocations: 1.083 MB / 0.6114 GB, free: 3.293 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.7558, allocations: 305.1 kB / 0.6117 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/0.7582, allocations: 1.706 MB / 0.6133 GB, free: 1.281 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005473/0.7637, allocations: 5.128 MB / 0.6183 GB, free: 10.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009668/0.7734, allocations: 7.413 MB / 0.6256 GB, free: 1.309 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.092e-05/0.7735, allocations: 36 kB / 0.6256 GB, free: 1.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01147/0.785, allocations: 6.722 MB / 0.6322 GB, free: 10.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.617e-05/0.7851, allocations: 60 kB / 0.6322 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/0.7852, allocations: 120 kB / 0.6323 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006848/0.7859, allocations: 321.4 kB / 0.6326 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003516/0.7894, allocations: 1.244 MB / 0.6339 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.7923, allocations: 2.49 MB / 0.6363 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/0.7962, allocations: 295.5 kB / 0.6366 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004226/0.7966, allocations: 344.5 kB / 0.6369 GB, free: 5.543 MB / 478.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.002871/0.7995, allocations: 1.795 MB / 0.6386 GB, free: 3.738 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008203/0.8003, allocations: 312 kB / 0.6389 GB, free: 3.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/0.805, allocations: 2.355 MB / 0.6412 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.864e-05/0.8051, allocations: 16 kB / 0.6413 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/0.8051, allocations: 3.938 kB / 0.6413 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.8051, allocations: 7.984 kB / 0.6413 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.8163, allocations: 5.918 MB / 0.6471 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.8164, allocations: 0 / 0.6471 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008246/0.8172, allocations: 175.8 kB / 0.6472 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.8193, allocations: 0.7185 MB / 0.6479 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.364e-05/0.8195, allocations: 27.98 kB / 0.6479 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006271/0.8257, allocations: 4.81 MB / 0.6526 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8257, allocations: 0 / 0.6526 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007113/0.8329, allocations: 4.329 MB / 0.6569 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/0.8344, allocations: 0.5321 MB / 0.6574 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003714/0.8348, allocations: 16 kB / 0.6574 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.8359, allocations: 72.02 kB / 0.6575 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/0.8362, allocations: 76.5 kB / 0.6575 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.385e-05/0.8363, allocations: 35.98 kB / 0.6576 GB, free: 60 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00387/0.8401, allocations: 2.331 MB / 0.6599 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8401, allocations: 4 kB / 0.6599 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005576/0.8457, allocations: 0.8112 MB / 0.6607 GB, free: 12.93 MB / 0.4981 GB 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.000478/0.8462, allocations: 160.3 kB / 0.6608 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007441/0.8537, allocations: 4.037 MB / 0.6648 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.8537, allocations: 4 kB / 0.6648 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.8553, allocations: 1.108 MB / 0.6658 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/0.8583, allocations: 396.5 kB / 0.6662 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.8726, allocations: 7.281 MB / 0.6733 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/0.8758, allocations: 2.785 MB / 0.676 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004134/0.88, allocations: 1.66 MB / 0.6777 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/0.8807, allocations: 207.4 kB / 0.6779 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of SimCode: time 1.864e-06/0.8807, allocations: 4 kB / 0.6779 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.06239/0.9431, allocations: 28.01 MB / 0.7052 GB, free: 15.25 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches