Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.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.001971/0.001971, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001595/0.001595, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.524/1.524, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3628/0.3628, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.887e-05, allocations: 2.312 kB / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01456/0.01459, allocations: 10.07 MB / 385.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007126/0.02171, allocations: 2.932 MB / 388.2 MB, free: 7.926 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.02328, allocations: 71.75 kB / 388.3 MB, free: 7.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.02705, allocations: 1.619 MB / 389.9 MB, free: 6.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004384/0.03143, allocations: 1.672 MB / 391.6 MB, free: 4.551 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.03186, allocations: 127.7 kB / 391.7 MB, free: 4.426 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005463/0.03733, allocations: 3.367 MB / 395.1 MB, free: 1.055 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/0.04034, allocations: 1.964 MB / 397.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.04338, allocations: 1.695 MB / 398.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/0.04728, allocations: 2.491 MB / 401.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004941/0.04778, allocations: 228 kB / 401.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.04925, allocations: 0.6709 MB / 402.1 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001789/0.05104, allocations: 1.589 MB / 403.7 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.05245, allocations: 0.934 MB / 404.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007791/0.06024, allocations: 5.827 MB / 410.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.06025, allocations: 0 / 410.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.06025, allocations: 0 / 410.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001375/0.06038, allocations: 4 kB / 410.5 MB, free: 1.582 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.009407/0.06979, allocations: 3.99 MB / 414.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.06984, allocations: 8.031 kB / 414.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.08121, allocations: 3.583 MB / 418.1 MB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004414/0.08562, allocations: 1.81 MB / 419.9 MB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.08582, allocations: 184.9 kB / 420.1 MB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005833/0.0864, allocations: 236.2 kB / 420.3 MB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/0.1036, allocations: 9.776 MB / 430.1 MB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-05/0.1036, allocations: 19.81 kB / 430.1 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003862/0.104, allocations: 115.8 kB / 430.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004245/0.1083, allocations: 2.373 MB / 432.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.1273, allocations: 8.94 MB / 441.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2045/0.3318, allocations: 27.01 MB / 468.5 MB, free: 80.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005391/0.3372, allocations: 2.594 MB / 471.1 MB, free: 80.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.3384, allocations: 1.02 MB / 472.1 MB, free: 79.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008654/0.3471, allocations: 4.869 MB / 477 MB, free: 78.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3471, allocations: 42.06 kB / 477 MB, free: 78.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 3.276e-06/0.3471, allocations: 4.016 kB / 477.1 MB, free: 78.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.007699/0.3548, allocations: 3.359 MB / 480.4 MB, free: 77.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3548, allocations: 120.7 kB / 480.5 MB, free: 77.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/0.3591, allocations: 2.784 MB / 483.3 MB, free: 76.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/0.3592, allocations: 41.81 kB / 483.4 MB, free: 76.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.3607, allocations: 2.827 MB / 486.2 MB, free: 74.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004381/0.3611, allocations: 0.5374 MB / 486.7 MB, free: 74.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.3625, allocations: 0.921 MB / 487.6 MB, free: 73.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.3626, allocations: 365.5 kB / 488 MB, free: 73.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.3646, allocations: 1.402 MB / 489.4 MB, free: 72.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003194/0.3678, allocations: 4.227 MB / 493.6 MB, free: 68.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005534/0.3733, allocations: 6.151 MB / 499.8 MB, free: 63.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/0.3735, allocations: 30.97 kB / 499.8 MB, free: 63.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.007565/0.381, allocations: 5.693 MB / 0.4937 GB, free: 61.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.3811, allocations: 46.5 kB / 0.4937 GB, free: 61.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.803e-05/0.3812, allocations: 99.53 kB / 0.4938 GB, free: 61.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.3813, allocations: 139.7 kB / 0.4939 GB, free: 61.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/0.3838, allocations: 0.9938 MB / 0.4949 GB, free: 61.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/0.3839, allocations: 200.2 kB / 0.4951 GB, free: 60.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/0.3865, allocations: 0.6166 MB / 0.4957 GB, free: 60.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/0.3868, allocations: 288.1 kB / 0.496 GB, free: 59.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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 (551): * Single equations (assignments): 543 * Array equations: 8 * 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.002525/0.3893, allocations: 1.973 MB / 0.4979 GB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.3896, allocations: 262.4 kB / 0.4981 GB, free: 57.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.3901, allocations: 278 kB / 0.4984 GB, free: 57.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/0.3901, allocations: 20.66 kB / 0.4984 GB, free: 57.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.3901, allocations: 3.938 kB / 0.4984 GB, free: 57.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.3901, allocations: 4.359 kB / 0.4984 GB, free: 57.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007228/0.3974, allocations: 4.838 MB / 0.5032 GB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.3974, allocations: 11.94 kB / 0.5032 GB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.398, allocations: 164.9 kB / 0.5033 GB, free: 53.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.398, allocations: 12 kB / 0.5033 GB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.398, allocations: 29.45 kB / 0.5034 GB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.398, allocations: 21.91 kB / 0.5034 GB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.3981, allocations: 11.94 kB / 0.5034 GB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.4, allocations: 2.008 MB / 0.5054 GB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.4005, allocations: 231.3 kB / 0.5056 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/0.4008, allocations: 30.02 kB / 0.5056 GB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.4015, allocations: 48.86 kB / 0.5057 GB, free: 50.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.4016, allocations: 89.34 kB / 0.5057 GB, free: 50.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/0.4017, allocations: 52.02 kB / 0.5058 GB, free: 50.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002148/0.4039, allocations: 1.582 MB / 0.5073 GB, free: 49.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4039, allocations: 0 / 0.5073 GB, free: 49.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00355/0.4074, allocations: 1.049 MB / 0.5084 GB, free: 48.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (93): * Single equations (assignments): 87 * 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.0003574/0.4078, allocations: 154.4 kB / 0.5085 GB, free: 48.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003954/0.4117, allocations: 3.14 MB / 0.5116 GB, free: 45.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.4117, allocations: 0 / 0.5116 GB, free: 45.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006933/0.4124, allocations: 0.7397 MB / 0.5123 GB, free: 44.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.4137, allocations: 236.1 kB / 0.5125 GB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.4252, allocations: 7.892 MB / 0.5202 GB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003436/0.4287, allocations: 2.547 MB / 0.5227 GB, free: 35.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002907/0.4316, allocations: 1.531 MB / 0.5242 GB, free: 33.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.432, allocations: 160.5 kB / 0.5244 GB, free: 33.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/0.432, allocations: 0 / 0.5244 GB, free: 33.68 MB / 410.7 MB Notification: Performance of Templates: time 0.03/0.462, allocations: 13.09 MB / 0.5371 GB, free: 20.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.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.205664320033975]