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.001872/0.001872, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002014/0.002014, allocations: 213.6 kB / 24.49 MB, free: 3.934 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2292/0.2292, allocations: 46.96 MB / 361.6 MB, free: 4.121 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.002057/0.002057, allocations: 75.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01261/0.3637, allocations: 9.804 MB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006226/0.3699, allocations: 2.698 MB / 0.574 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009936/0.3709, allocations: 63.81 kB / 0.5741 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002766/0.3736, allocations: 1.308 MB / 0.5754 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.3765, allocations: 1.257 MB / 0.5766 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.3768, allocations: 79.91 kB / 0.5767 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003123/0.3799, allocations: 2.724 MB / 0.5793 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.3819, allocations: 1.675 MB / 0.581 GB, free: 480 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.3832, allocations: 1.059 MB / 0.582 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.3851, allocations: 1.604 MB / 0.5836 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003709/0.3855, allocations: 208 kB / 0.5838 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008471/0.3864, allocations: 419.5 kB / 0.5842 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.3876, allocations: 1.441 MB / 0.5856 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.3888, allocations: 1.187 MB / 0.5867 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006041/0.3949, allocations: 5.487 MB / 0.5921 GB, free: 5.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3949, allocations: 0 / 0.5921 GB, free: 5.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3949, allocations: 0 / 0.5921 GB, free: 5.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.529e-05/0.395, allocations: 0 / 0.5921 GB, free: 5.035 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.005778/0.4007, allocations: 3.601 MB / 0.5956 GB, free: 1.383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4008, allocations: 8.031 kB / 0.5956 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009772/0.4106, allocations: 2.962 MB / 0.5985 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/0.4146, allocations: 1.492 MB / 0.6 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.4148, allocations: 168.7 kB / 0.6001 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005876/0.4154, allocations: 227.9 kB / 0.6003 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/0.431, allocations: 9.472 MB / 0.6096 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.817e-05/0.431, allocations: 19.81 kB / 0.6096 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/0.4314, allocations: 107.8 kB / 0.6097 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003782/0.4351, allocations: 2.369 MB / 0.612 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.451, allocations: 8.66 MB / 0.6205 GB, free: 7.465 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0409/0.4919, allocations: 26.42 MB / 0.6463 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00535/0.4972, allocations: 2.032 MB / 0.6483 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.4988, allocations: 0.8984 MB / 0.6491 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009721/0.5085, allocations: 3.77 MB / 0.6528 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.5086, allocations: 43.22 kB / 0.6529 GB, free: 5.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 5.971e-06/0.5086, allocations: 0 / 0.6529 GB, free: 5.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006884/0.5154, allocations: 2.733 MB / 0.6555 GB, free: 2.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.5155, allocations: 60.06 kB / 0.6556 GB, free: 2.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005713/0.5212, allocations: 2.616 MB / 0.6581 GB, free: 16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001726/0.5214, allocations: 41.61 kB / 0.6582 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003192/0.5246, allocations: 2.767 MB / 0.6609 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008739/0.5255, allocations: 0.504 MB / 0.6614 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001907/0.5274, allocations: 0.9052 MB / 0.6623 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002866/0.5277, allocations: 349.9 kB / 0.6626 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/0.531, allocations: 1.355 MB / 0.6639 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006857/0.5379, allocations: 4.118 MB / 0.6679 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.5492, allocations: 5.971 MB / 0.6738 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001232/0.5493, allocations: 28 kB / 0.6738 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01463/0.5639, allocations: 5.288 MB / 0.679 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.564, allocations: 48 kB / 0.679 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/0.5642, allocations: 96 kB / 0.6791 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.5644, allocations: 128 kB / 0.6792 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004832/0.5693, allocations: 0.9825 MB / 0.6802 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002439/0.5695, allocations: 195.2 kB / 0.6804 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/0.574, allocations: 0.5975 MB / 0.6809 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005662/0.5746, allocations: 280 kB / 0.6812 GB, free: 5.527 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.004229/0.5788, allocations: 1.895 MB / 0.6831 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.5793, allocations: 214.5 kB / 0.6833 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.58, allocations: 266.3 kB / 0.6835 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.58, allocations: 3.984 kB / 0.6835 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.58, allocations: 0 / 0.6835 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005453/0.5805, allocations: 202.3 kB / 0.6837 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.5809, allocations: 12 kB / 0.6837 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/0.5817, allocations: 31.95 kB / 0.6838 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.5819, allocations: 56.5 kB / 0.6838 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00335/0.5852, allocations: 1.476 MB / 0.6853 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003247/0.5885, allocations: 1.729 MB / 0.6869 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001226/0.5897, allocations: 0.6028 MB / 0.6875 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003134/0.5928, allocations: 1.467 MB / 0.689 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of Backend: time 4.81e-07/0.5928, allocations: 0 / 0.689 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006598/0.5994, allocations: 2.494 MB / 0.6914 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01667/0.6161, allocations: 7.431 MB / 0.6987 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of Templates: time 0.05404/0.6701, allocations: 26.7 MB / 0.7247 GB, free: 9.145 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: 6.496229822994792]