Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 211.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2422/0.2422, allocations: 46.95 MB / 360.9 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 67.91 kB / 0.4966 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3881, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01252/0.4006, allocations: 9.018 MB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008454/0.4091, allocations: 3.605 MB / 0.5734 GB, free: 7.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.4109, allocations: 75.62 kB / 0.5735 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004586/0.4154, allocations: 1.908 MB / 0.5753 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004706/0.4201, allocations: 1.677 MB / 0.577 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.4219, allocations: 0.6082 MB / 0.5776 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005451/0.4273, allocations: 3.369 MB / 0.5809 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003511/0.4309, allocations: 2.117 MB / 0.5829 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.4333, allocations: 1.254 MB / 0.5842 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.4364, allocations: 1.724 MB / 0.5858 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009123/0.4373, allocations: 252 kB / 0.5861 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.4399, allocations: 0.9205 MB / 0.587 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00232/0.4422, allocations: 1.593 MB / 0.5885 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003375/0.4456, allocations: 1.339 MB / 0.5898 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008204/0.4538, allocations: 5.824 MB / 0.5955 GB, free: 0.707 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4538, allocations: 0 / 0.5955 GB, free: 0.707 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4538, allocations: 0 / 0.5955 GB, free: 0.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001335/0.454, allocations: 0 / 0.5955 GB, free: 0.707 MB / 430.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.008012/0.462, allocations: 4.03 MB / 0.5995 GB, free: 12.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.462, allocations: 8.031 kB / 0.5995 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006841/0.4689, allocations: 1.796 MB / 0.6012 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00519/0.474, allocations: 1.884 MB / 0.6031 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.4742, allocations: 189.2 kB / 0.6033 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005799/0.4748, allocations: 255.8 kB / 0.6035 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.4902, allocations: 8.501 MB / 0.6118 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.4904, allocations: 47.62 kB / 0.6118 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005712/0.4909, allocations: 123.9 kB / 0.612 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002975/0.4939, allocations: 1.695 MB / 0.6136 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.5086, allocations: 7.09 MB / 0.6205 GB, free: 6.297 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04521/0.5538, allocations: 32.06 MB / 0.6518 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007696/0.5615, allocations: 2.723 MB / 0.6545 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.5636, allocations: 1.364 MB / 0.6558 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007385/0.571, allocations: 3.317 MB / 0.6591 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.571, allocations: 43.22 kB / 0.6591 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 3.566e-06/0.571, allocations: 0 / 0.6591 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03103/0.6021, allocations: 11.54 MB / 0.6704 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.6022, allocations: 166.9 kB / 0.6705 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005677/0.6079, allocations: 3.423 MB / 0.6739 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000278/0.6081, allocations: 45.7 kB / 0.6739 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00234/0.6105, allocations: 2.879 MB / 0.6767 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.6115, allocations: 0.5428 MB / 0.6773 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003035/0.6145, allocations: 1.091 MB / 0.6783 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.6147, allocations: 309.1 kB / 0.6786 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/0.6181, allocations: 1.713 MB / 0.6803 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006256/0.6243, allocations: 5.164 MB / 0.6853 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00989/0.6342, allocations: 7.43 MB / 0.6926 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000189/0.6344, allocations: 43.94 kB / 0.6926 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01326/0.6477, allocations: 6.699 MB / 0.6992 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.6478, allocations: 56 kB / 0.6992 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002308/0.6481, allocations: 120 kB / 0.6994 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007144/0.6488, allocations: 329.3 kB / 0.6997 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/0.6528, allocations: 1.244 MB / 0.7009 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.6559, allocations: 2.351 MB / 0.7032 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003991/0.6599, allocations: 291.6 kB / 0.7035 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000882/0.6608, allocations: 340 kB / 0.7038 GB, free: 12.23 MB / 0.545 GB 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.00339/0.6642, allocations: 1.795 MB / 0.7055 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007236/0.6649, allocations: 286.1 kB / 0.7058 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005146/0.67, allocations: 2.32 MB / 0.7081 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.679e-05/0.6701, allocations: 19.94 kB / 0.7081 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.6701, allocations: 4 kB / 0.7081 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.6701, allocations: 7.984 kB / 0.7081 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/0.683, allocations: 5.097 MB / 0.7131 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.683, allocations: 4 kB / 0.7131 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008587/0.6838, allocations: 179.8 kB / 0.7133 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.686, allocations: 0.7108 MB / 0.714 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.6862, allocations: 20 kB / 0.714 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006559/0.6927, allocations: 4.645 MB / 0.7185 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6927, allocations: 7.938 kB / 0.7185 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007386/0.7001, allocations: 4.309 MB / 0.7227 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009456/0.7011, allocations: 250 kB / 0.723 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005658/0.7016, allocations: 20 kB / 0.723 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.7029, allocations: 75.89 kB / 0.7231 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.7031, allocations: 68.47 kB / 0.7231 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.7032, allocations: 39.98 kB / 0.7232 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003713/0.7069, allocations: 1.963 MB / 0.7251 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7069, allocations: 0 / 0.7251 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004195/0.7111, allocations: 0.7929 MB / 0.7258 GB, free: 5.406 MB / 0.5606 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.0004455/0.7116, allocations: 151 kB / 0.726 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007219/0.7188, allocations: 3.912 MB / 0.7298 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.7188, allocations: 0 / 0.7298 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.7205, allocations: 1.034 MB / 0.7308 GB, free: 312 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2834/1.004, allocations: 334.3 kB / 0.7311 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.016, allocations: 7.383 MB / 0.7384 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/1.018, allocations: 2.232 MB / 0.7405 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003027/1.021, allocations: 1.608 MB / 0.7421 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/1.021, allocations: 189.3 kB / 0.7423 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/1.021, allocations: 7.609 kB / 0.7423 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.04714/1.068, allocations: 28.07 MB / 0.7697 GB, free: 129.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.088884897530079]