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.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.001978/0.001978, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.003038/0.003038, allocations: 218.6 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2393/0.2393, allocations: 44.27 MB / 330.4 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 180] 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.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_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 71.91 kB / 468 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1346, allocations: 61.05 MB / 0.5167 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0121/0.1467, allocations: 9.061 MB / 0.5255 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009989/0.1567, allocations: 3.601 MB / 0.529 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.1586, allocations: 67.69 kB / 0.5291 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004144/0.1628, allocations: 1.9 MB / 0.5309 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005302/0.1681, allocations: 1.72 MB / 0.5326 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.1698, allocations: 0.6121 MB / 0.5332 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005806/0.1756, allocations: 3.342 MB / 0.5365 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/0.1791, allocations: 2.126 MB / 0.5386 GB, free: 84 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2558/0.4348, allocations: 1.263 MB / 0.5398 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003038/0.4379, allocations: 1.727 MB / 0.5415 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007367/0.4386, allocations: 254.1 kB / 0.5417 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.4407, allocations: 0.9275 MB / 0.5426 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001798/0.4425, allocations: 1.62 MB / 0.5442 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.4445, allocations: 1.351 MB / 0.5455 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00878/0.4533, allocations: 5.877 MB / 0.5513 GB, free: 10.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4533, allocations: 5.594 kB / 0.5513 GB, free: 10.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4533, allocations: 0 / 0.5513 GB, free: 10.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003185/0.4536, allocations: 3.281 kB / 0.5513 GB, free: 10.57 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.01262/0.4662, allocations: 4.057 MB / 0.5552 GB, free: 8.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4662, allocations: 9 kB / 0.5552 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006442/0.4727, allocations: 1.799 MB / 0.557 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005933/0.4786, allocations: 1.946 MB / 0.5589 GB, free: 7.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.4788, allocations: 196.8 kB / 0.5591 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.4802, allocations: 257.3 kB / 0.5593 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01876/0.499, allocations: 8.485 MB / 0.5676 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.4991, allocations: 41.11 kB / 0.5677 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004163/0.4995, allocations: 128.8 kB / 0.5678 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002923/0.5024, allocations: 1.699 MB / 0.5694 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.516, allocations: 7.074 MB / 0.5763 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04491/0.5609, allocations: 32.08 MB / 0.6077 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007661/0.5685, allocations: 2.73 MB / 0.6103 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/0.5706, allocations: 1.355 MB / 0.6117 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006659/0.5773, allocations: 3.294 MB / 0.6149 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.5773, allocations: 47.22 kB / 0.6149 GB, free: 11.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 5.51e-06/0.5774, allocations: 1.219 kB / 0.6149 GB, free: 11.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.0299/0.6072, allocations: 11.53 MB / 0.6262 GB, free: 144 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.6074, allocations: 166.9 kB / 0.6263 GB, free: 15.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004967/0.6123, allocations: 3.444 MB / 0.6297 GB, free: 12.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.6125, allocations: 48.83 kB / 0.6298 GB, free: 12.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002313/0.6148, allocations: 2.885 MB / 0.6326 GB, free: 9.562 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006398/0.6155, allocations: 0.5449 MB / 0.6331 GB, free: 9.023 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001594/0.6171, allocations: 1.09 MB / 0.6342 GB, free: 7.926 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6172, allocations: 305.1 kB / 0.6345 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002676/0.6199, allocations: 1.704 MB / 0.6361 GB, free: 5.918 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005883/0.6258, allocations: 5.15 MB / 0.6412 GB, free: 15.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.6361, allocations: 7.413 MB / 0.6484 GB, free: 6.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/0.6363, allocations: 35.94 kB / 0.6484 GB, free: 6.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01404/0.6503, allocations: 6.698 MB / 0.655 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.154e-05/0.6504, allocations: 60.75 kB / 0.655 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/0.6506, allocations: 124 kB / 0.6551 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.6512, allocations: 324.6 kB / 0.6555 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/0.6554, allocations: 1.244 MB / 0.6567 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/0.6584, allocations: 2.362 MB / 0.659 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/0.6623, allocations: 296.4 kB / 0.6593 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007251/0.663, allocations: 332 kB / 0.6596 GB, free: 10.77 MB / 0.4981 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.003641/0.6666, allocations: 1.791 MB / 0.6613 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006214/0.6673, allocations: 286.1 kB / 0.6616 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00506/0.6723, allocations: 2.312 MB / 0.6639 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/0.6724, allocations: 19.94 kB / 0.6639 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.6724, allocations: 8 kB / 0.6639 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.6724, allocations: 7.969 kB / 0.6639 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.6843, allocations: 5.097 MB / 0.6689 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.6844, allocations: 4 kB / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008455/0.6852, allocations: 172.8 kB / 0.669 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/0.6874, allocations: 0.7108 MB / 0.6697 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.6875, allocations: 23.98 kB / 0.6697 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006662/0.6942, allocations: 4.654 MB / 0.6743 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.6942, allocations: 4 kB / 0.6743 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007515/0.7017, allocations: 4.301 MB / 0.6785 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.7032, allocations: 433.8 kB / 0.6789 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/0.7036, allocations: 20.12 kB / 0.6789 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.7046, allocations: 71.91 kB / 0.679 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.7048, allocations: 78.48 kB / 0.6791 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.951e-05/0.7049, allocations: 39.94 kB / 0.6791 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003487/0.7084, allocations: 1.976 MB / 0.681 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.7084, allocations: 0 / 0.681 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004793/0.7132, allocations: 0.8163 MB / 0.6818 GB, free: 3.785 MB / 0.5137 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.0004213/0.7136, allocations: 141.8 kB / 0.682 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007139/0.7207, allocations: 3.892 MB / 0.6858 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.7207, allocations: 0 / 0.6858 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.7225, allocations: 1.038 MB / 0.6868 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.7249, allocations: 332.1 kB / 0.6871 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.7405, allocations: 7.408 MB / 0.6943 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003861/0.7444, allocations: 2.243 MB / 0.6965 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004311/0.7487, allocations: 1.611 MB / 0.6981 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007733/0.7495, allocations: 191.4 kB / 0.6983 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of SimCode: time 1.282e-06/0.7495, allocations: 0 / 0.6983 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of Templates: time 0.06172/0.8112, allocations: 28.28 MB / 0.7259 GB, free: 6.699 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.871005354449153]