Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001781/0.001781, allocations: 111.1 kB / 20.44 MB, free: 1.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 213 kB / 23.73 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.94 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 83.88 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3697, allocations: 66.08 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01255/0.3822, allocations: 9.032 MB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008666/0.3909, allocations: 3.604 MB / 0.5735 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.3928, allocations: 67.62 kB / 0.5736 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004467/0.3973, allocations: 1.904 MB / 0.5754 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.4024, allocations: 1.684 MB / 0.5771 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.4041, allocations: 0.6043 MB / 0.5777 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006484/0.4106, allocations: 3.369 MB / 0.581 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004104/0.4147, allocations: 2.11 MB / 0.583 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.4177, allocations: 1.254 MB / 0.5842 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003382/0.4211, allocations: 1.724 MB / 0.5859 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.4222, allocations: 260 kB / 0.5862 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.4249, allocations: 0.9244 MB / 0.5871 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002404/0.4273, allocations: 1.589 MB / 0.5886 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002679/0.4299, allocations: 1.332 MB / 0.5899 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007434/0.4374, allocations: 5.827 MB / 0.5956 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4374, allocations: 3.938 kB / 0.5956 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4374, allocations: 3.938 kB / 0.5956 GB, free: 0.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001667/0.4376, allocations: 0 / 0.5956 GB, free: 0.5 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.008455/0.446, allocations: 4.03 MB / 0.5996 GB, free: 12.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.4461, allocations: 12.03 kB / 0.5996 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006229/0.4523, allocations: 1.792 MB / 0.6013 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004849/0.4571, allocations: 1.88 MB / 0.6032 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.4573, allocations: 189.2 kB / 0.6033 GB, free: 8.492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005313/0.4579, allocations: 255.8 kB / 0.6036 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/0.4736, allocations: 8.498 MB / 0.6119 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.4737, allocations: 43.64 kB / 0.6119 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000366/0.474, allocations: 123.9 kB / 0.612 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002954/0.477, allocations: 1.699 MB / 0.6137 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.4915, allocations: 7.094 MB / 0.6206 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04311/0.5346, allocations: 32.06 MB / 0.6519 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008132/0.5427, allocations: 2.731 MB / 0.6546 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.5449, allocations: 1.353 MB / 0.6559 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007557/0.5524, allocations: 3.313 MB / 0.6592 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.309e-05/0.5525, allocations: 55.16 kB / 0.6592 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 5.38e-06/0.5525, allocations: 0 / 0.6592 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03052/0.583, allocations: 11.53 MB / 0.6705 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.5832, allocations: 166.9 kB / 0.6706 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005269/0.5884, allocations: 3.431 MB / 0.674 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002937/0.5887, allocations: 45.69 kB / 0.674 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002497/0.5912, allocations: 2.875 MB / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000927/0.5921, allocations: 0.5428 MB / 0.6774 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/0.5938, allocations: 1.095 MB / 0.6784 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.594, allocations: 305.1 kB / 0.6787 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002979/0.5969, allocations: 1.709 MB / 0.6804 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007122/0.6041, allocations: 5.16 MB / 0.6854 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.6149, allocations: 7.43 MB / 0.6927 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000193/0.6151, allocations: 32 kB / 0.6927 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01531/0.6304, allocations: 6.705 MB / 0.6993 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.6305, allocations: 58.81 kB / 0.6993 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/0.6307, allocations: 124 kB / 0.6994 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006739/0.6314, allocations: 325.2 kB / 0.6997 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004163/0.6356, allocations: 1.248 MB / 0.701 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.6385, allocations: 2.356 MB / 0.7033 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004084/0.6425, allocations: 295.6 kB / 0.7035 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008206/0.6434, allocations: 332 kB / 0.7039 GB, free: 12.03 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.003329/0.6467, allocations: 1.792 MB / 0.7056 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006728/0.6474, allocations: 290.1 kB / 0.7059 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/0.6522, allocations: 2.324 MB / 0.7082 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.112e-05/0.6522, allocations: 15.94 kB / 0.7082 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.6522, allocations: 4 kB / 0.7082 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.6522, allocations: 12.44 kB / 0.7082 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.6641, allocations: 5.097 MB / 0.7132 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.6641, allocations: 4 kB / 0.7132 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009313/0.6651, allocations: 171.8 kB / 0.7133 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/0.6674, allocations: 0.7147 MB / 0.714 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.6675, allocations: 28.06 kB / 0.7141 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006761/0.6743, allocations: 4.636 MB / 0.7186 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.6743, allocations: 11.95 kB / 0.7186 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008028/0.6823, allocations: 4.305 MB / 0.7228 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009334/0.6832, allocations: 254.1 kB / 0.723 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/0.6836, allocations: 20 kB / 0.7231 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.6847, allocations: 75.84 kB / 0.7231 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.6849, allocations: 76.45 kB / 0.7232 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.685, allocations: 31.94 kB / 0.7232 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003555/0.6886, allocations: 1.967 MB / 0.7252 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6886, allocations: 0 / 0.7252 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004675/0.6932, allocations: 0.789 MB / 0.7259 GB, free: 5.207 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.0005278/0.6938, allocations: 154.9 kB / 0.7261 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007218/0.701, allocations: 3.905 MB / 0.7299 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.701, allocations: 0 / 0.7299 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/0.7027, allocations: 1.034 MB / 0.7309 GB, free: 108 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3201/1.023, allocations: 342.7 kB / 0.7312 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.035, allocations: 7.39 MB / 0.7384 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/1.037, allocations: 2.225 MB / 0.7406 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00317/1.04, allocations: 1.613 MB / 0.7422 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/1.041, allocations: 197.9 kB / 0.7424 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/1.041, allocations: 3.938 kB / 0.7424 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.04575/1.087, allocations: 28.06 MB / 0.7698 GB, free: 127.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.200889132916927]