Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_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.001161/0.001161, allocations: 104.4 kB / 17.98 MB, free: 5.355 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.001564/0.001565, allocations: 193.3 kB / 18.9 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2025/0.2025, allocations: 44.17 MB / 336.9 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 56.62 kB / 408.5 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1097, allocations: 60.85 MB / 469.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03382/0.1435, allocations: 34.72 MB / 0.4923 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01943/0.163, allocations: 7.796 MB / 0.4999 GB, free: 4.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00728/0.1703, allocations: 147.6 kB / 0.5 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004192/0.1746, allocations: 1.862 MB / 0.5019 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004493/0.1791, allocations: 1.546 MB / 0.5034 GB, free: 456 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2227/0.4018, allocations: 0.5683 MB / 0.5039 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00511/0.4069, allocations: 3.359 MB / 0.5072 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004073/0.4111, allocations: 2.73 MB / 0.5099 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.4138, allocations: 1.259 MB / 0.5111 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/0.417, allocations: 1.872 MB / 0.5129 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008391/0.4179, allocations: 253.1 kB / 0.5132 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.4206, allocations: 1.048 MB / 0.5142 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002275/0.4229, allocations: 1.587 MB / 0.5157 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002815/0.4258, allocations: 1.853 MB / 0.5176 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005759/0.4315, allocations: 4.585 MB / 0.522 GB, free: 9.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4316, allocations: 0 / 0.522 GB, free: 9.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4316, allocations: 0 / 0.522 GB, free: 9.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002053/0.4318, allocations: 1.156 kB / 0.522 GB, free: 9.285 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.01055/0.4424, allocations: 4.019 MB / 0.526 GB, free: 7.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4424, allocations: 11.62 kB / 0.526 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006055/0.4485, allocations: 1.778 MB / 0.5277 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/0.4527, allocations: 1.906 MB / 0.5296 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.4528, allocations: 196.9 kB / 0.5298 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009265/0.4538, allocations: 257.7 kB / 0.53 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.4673, allocations: 8.436 MB / 0.5382 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.4675, allocations: 43.67 kB / 0.5383 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003809/0.4679, allocations: 127 kB / 0.5384 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002877/0.4707, allocations: 1.694 MB / 0.5401 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.4854, allocations: 7.094 MB / 0.547 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04477/0.5302, allocations: 34.15 MB / 0.5803 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007706/0.5379, allocations: 3.286 MB / 0.5835 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.5401, allocations: 1.457 MB / 0.585 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008013/0.5482, allocations: 4.37 MB / 0.5892 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.5483, allocations: 45.75 kB / 0.5893 GB, free: 11.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.909e-06/0.5483, allocations: 0 / 0.5893 GB, free: 11.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03089/0.5792, allocations: 11.52 MB / 0.6005 GB, free: 188 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.5793, allocations: 168.1 kB / 0.6007 GB, free: 15.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007334/0.5867, allocations: 3.725 MB / 0.6043 GB, free: 12.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000349/0.587, allocations: 47.11 kB / 0.6044 GB, free: 12.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002368/0.5894, allocations: 2.754 MB / 0.6071 GB, free: 9.465 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008325/0.5903, allocations: 0.5178 MB / 0.6076 GB, free: 8.953 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002443/0.5927, allocations: 1.075 MB / 0.6086 GB, free: 7.867 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.5928, allocations: 306.7 kB / 0.6089 GB, free: 7.566 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002834/0.5957, allocations: 1.712 MB / 0.6106 GB, free: 5.852 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004879/0.6006, allocations: 5.122 MB / 0.6156 GB, free: 15.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008142/0.6087, allocations: 7.423 MB / 0.6228 GB, free: 6.426 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.542e-05/0.6089, allocations: 36 kB / 0.6229 GB, free: 6.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01232/0.6212, allocations: 6.716 MB / 0.6294 GB, free: 15.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.408e-05/0.6213, allocations: 63.94 kB / 0.6295 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/0.6215, allocations: 120 kB / 0.6296 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/0.6221, allocations: 325.2 kB / 0.6299 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003937/0.6261, allocations: 1.244 MB / 0.6311 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.6287, allocations: 2.502 MB / 0.6336 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/0.633, allocations: 294.3 kB / 0.6338 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008895/0.6339, allocations: 336 kB / 0.6342 GB, free: 10.98 MB / 494.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.003546/0.6375, allocations: 1.788 MB / 0.6359 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/0.6381, allocations: 308 kB / 0.6362 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004653/0.6428, allocations: 2.367 MB / 0.6385 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/0.6428, allocations: 16.03 kB / 0.6385 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.6429, allocations: 8 kB / 0.6385 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.6429, allocations: 7.984 kB / 0.6385 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.6544, allocations: 5.913 MB / 0.6443 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.6545, allocations: 0 / 0.6443 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008167/0.6553, allocations: 171.8 kB / 0.6445 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/0.6574, allocations: 0.7224 MB / 0.6452 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.6575, allocations: 27.12 kB / 0.6452 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005642/0.6632, allocations: 4.811 MB / 0.6499 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6632, allocations: 7.938 kB / 0.6499 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006616/0.6699, allocations: 4.316 MB / 0.6541 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009993/0.6709, allocations: 364.9 kB / 0.6545 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003964/0.6713, allocations: 23.98 kB / 0.6545 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.6724, allocations: 63.91 kB / 0.6546 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.6726, allocations: 80.5 kB / 0.6546 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-05/0.6727, allocations: 39.94 kB / 0.6547 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003736/0.6765, allocations: 2.327 MB / 0.657 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6765, allocations: 0 / 0.657 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004901/0.6814, allocations: 0.8195 MB / 0.6578 GB, free: 2.59 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.0004011/0.6818, allocations: 148.5 kB / 0.6579 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007234/0.689, allocations: 4.423 MB / 0.6622 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.6891, allocations: 3.938 kB / 0.6622 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.6906, allocations: 1.115 MB / 0.6633 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.6932, allocations: 389 kB / 0.6637 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.7083, allocations: 9.323 MB / 0.6728 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/0.7111, allocations: 2.777 MB / 0.6755 GB, free: 368 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.7121, allocations: 255.4 kB / 0.6757 GB, free: 112 kB / 0.5137 GB Notification: Performance of SimCode: time 2.064e-06/0.7121, allocations: 0 / 0.6757 GB, free: 112 kB / 0.5137 GB Notification: Performance of Templates: time 0.2807/0.9929, allocations: 63.95 MB / 0.7382 GB, free: 185.9 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches