Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.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.001303/0.001303, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001591/0.001591, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2283/0.2283, allocations: 46.93 MB / 361.6 MB, free: 4.348 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.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00276/0.00276, allocations: 63.91 kB / 0.4974 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.282, allocations: 66.03 MB / 0.5619 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01307/0.2951, allocations: 11.31 MB / 0.5729 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005666/0.3007, allocations: 2.857 MB / 0.5757 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.302, allocations: 59.81 kB / 0.5758 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.3048, allocations: 1.347 MB / 0.5771 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.3075, allocations: 1.253 MB / 0.5783 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.3079, allocations: 87.83 kB / 0.5784 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003589/0.3115, allocations: 2.716 MB / 0.581 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.314, allocations: 1.679 MB / 0.5827 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.3157, allocations: 1.055 MB / 0.5837 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.3181, allocations: 1.608 MB / 0.5853 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005462/0.3186, allocations: 211.9 kB / 0.5855 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.3198, allocations: 0.5071 MB / 0.586 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.3212, allocations: 1.425 MB / 0.5874 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.3229, allocations: 1.7 MB / 0.589 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005692/0.3286, allocations: 5.464 MB / 0.5944 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3286, allocations: 0 / 0.5944 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3286, allocations: 4 kB / 0.5944 GB, free: 2.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.213e-05/0.3286, allocations: 0 / 0.5944 GB, free: 2.949 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: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.005592/0.3342, allocations: 3.601 MB / 0.5979 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.3343, allocations: 12.03 kB / 0.5979 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01945/0.3537, allocations: 2.962 MB / 0.6008 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005334/0.3591, allocations: 1.476 MB / 0.6022 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.3594, allocations: 180.6 kB / 0.6024 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.3604, allocations: 228 kB / 0.6026 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/0.3851, allocations: 9.464 MB / 0.6119 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.997e-05/0.3852, allocations: 15.81 kB / 0.6119 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007591/0.386, allocations: 115.8 kB / 0.612 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007175/0.3932, allocations: 2.365 MB / 0.6143 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.024/0.4172, allocations: 8.668 MB / 0.6228 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04467/0.4618, allocations: 29.06 MB / 0.6511 GB, free: 7.508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004749/0.4666, allocations: 2.036 MB / 0.6531 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.468, allocations: 0.8984 MB / 0.654 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009293/0.4773, allocations: 3.946 MB / 0.6578 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.4774, allocations: 51.16 kB / 0.6579 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.649e-06/0.4774, allocations: 0 / 0.6579 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.00614/0.4835, allocations: 2.741 MB / 0.6606 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.4836, allocations: 64.06 kB / 0.6606 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004296/0.4879, allocations: 2.569 MB / 0.6631 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.89e-05/0.488, allocations: 41.7 kB / 0.6632 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002517/0.4905, allocations: 2.755 MB / 0.6659 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006311/0.4911, allocations: 0.5117 MB / 0.6664 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.4924, allocations: 0.9091 MB / 0.6673 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.4927, allocations: 357.9 kB / 0.6676 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.4948, allocations: 1.355 MB / 0.6689 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/0.4993, allocations: 4.114 MB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007606/0.5069, allocations: 5.971 MB / 0.6788 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-05/0.507, allocations: 28 kB / 0.6788 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009376/0.5164, allocations: 5.292 MB / 0.684 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/0.5165, allocations: 44 kB / 0.684 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/0.5166, allocations: 103.9 kB / 0.6841 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.5168, allocations: 128 kB / 0.6842 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/0.5197, allocations: 0.9708 MB / 0.6852 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001866/0.5199, allocations: 199.2 kB / 0.6854 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/0.5227, allocations: 0.6204 MB / 0.686 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000537/0.5233, allocations: 284.2 kB / 0.6862 GB, free: 0.6133 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003088/0.5264, allocations: 1.895 MB / 0.6881 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/0.5268, allocations: 226.4 kB / 0.6883 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005813/0.5274, allocations: 267.3 kB / 0.6886 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.311e-05/0.5274, allocations: 16 kB / 0.6886 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.5274, allocations: 0 / 0.6886 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.5274, allocations: 3.984 kB / 0.6886 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.5378, allocations: 5.59 MB / 0.694 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.5378, allocations: 8 kB / 0.6941 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/0.5384, allocations: 139.7 kB / 0.6942 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.768e-05/0.5384, allocations: 8.562 kB / 0.6942 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/0.5385, allocations: 23.98 kB / 0.6942 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.5385, allocations: 8 kB / 0.6942 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.5385, allocations: 11.94 kB / 0.6942 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.5408, allocations: 1.797 MB / 0.696 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/0.5414, allocations: 218.2 kB / 0.6962 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/0.5417, allocations: 19.98 kB / 0.6962 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/0.5423, allocations: 39.95 kB / 0.6963 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.5424, allocations: 64.28 kB / 0.6963 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/0.5425, allocations: 43.98 kB / 0.6964 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002796/0.5453, allocations: 1.556 MB / 0.6979 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5453, allocations: 0 / 0.6979 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003651/0.549, allocations: 1.004 MB / 0.6989 GB, free: 3.461 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003429/0.5493, allocations: 143 kB / 0.699 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005072/0.5544, allocations: 3.021 MB / 0.7019 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.5544, allocations: 5.938 kB / 0.702 GB, free: 320 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009393/0.5553, allocations: 0.6796 MB / 0.7026 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.5568, allocations: 251.2 kB / 0.7029 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.5715, allocations: 7.701 MB / 0.7104 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004127/0.5756, allocations: 2.969 MB / 0.7133 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006373/0.5763, allocations: 195.4 kB / 0.7135 GB, free: 4.395 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.5763, allocations: 0 / 0.7135 GB, free: 4.395 MB / 0.545 GB Notification: Performance of Templates: time 0.2913/0.8676, allocations: 42.49 MB / 0.755 GB, free: 144.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.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: 10.79589152499102]