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.0008467/0.0008467, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004207/0.004207, allocations: 160.3 kB / 24.7 MB, free: 9.418 MB / 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 0.8927/0.8927, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2158/0.2158, allocations: 32.78 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] 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.613e-06/1.613e-06, allocations: 0 / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.353e-05, allocations: 5.516 kB / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.1962/0.1962, allocations: 10.07 MB / 450.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.2001, allocations: 2.92 MB / 453.8 MB, free: 39.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007188/0.2008, allocations: 69.44 kB / 453.9 MB, free: 39.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.2023, allocations: 1.611 MB / 455.5 MB, free: 38.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.2039, allocations: 1.666 MB / 457.2 MB, free: 38.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.2041, allocations: 124.7 kB / 457.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.2057, allocations: 3.368 MB / 460.6 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.2068, allocations: 1.901 MB / 462.5 MB, free: 35.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008977/0.2077, allocations: 1.688 MB / 464.2 MB, free: 35.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.2092, allocations: 2.489 MB / 466.7 MB, free: 34.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.2095, allocations: 230.2 kB / 467 MB, free: 34.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007183/0.2102, allocations: 0.6746 MB / 467.6 MB, free: 34.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006906/0.2109, allocations: 1.59 MB / 469.2 MB, free: 33.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005227/0.2114, allocations: 0.9283 MB / 470.1 MB, free: 32.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.2147, allocations: 5.827 MB / 476 MB, free: 30.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2147, allocations: 0 / 476 MB, free: 30.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2147, allocations: 0 / 476 MB, free: 30.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.629e-05/0.2147, allocations: 0 / 476 MB, free: 30.84 MB / 410.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.003754/0.2185, allocations: 3.987 MB / 480 MB, free: 28.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.2185, allocations: 9.344 kB / 480 MB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005508/0.224, allocations: 3.018 MB / 483 MB, free: 28.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.2263, allocations: 1.8 MB / 484.8 MB, free: 27.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.089e-05/0.2264, allocations: 183.3 kB / 485 MB, free: 26.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.2267, allocations: 236 kB / 485.2 MB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00966/0.2364, allocations: 9.78 MB / 495 MB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.034e-05/0.2364, allocations: 22.34 kB / 495 MB, free: 22.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.2367, allocations: 117.3 kB / 495.1 MB, free: 22.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002405/0.2391, allocations: 2.365 MB / 497.5 MB, free: 22.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.2494, allocations: 8.953 MB / 0.4946 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0205/0.2699, allocations: 26.93 MB / 0.5209 GB, free: 6.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003504/0.2734, allocations: 2.593 MB / 0.5234 GB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008744/0.2743, allocations: 1.022 MB / 0.5244 GB, free: 3.195 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005302/0.2796, allocations: 4.867 MB / 0.5291 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.2796, allocations: 51.14 kB / 0.5292 GB, free: 14.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 2.986e-06/0.2797, allocations: 0 / 0.5292 GB, free: 14.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.004835/0.2845, allocations: 3.318 MB / 0.5324 GB, free: 10.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.2845, allocations: 119.4 kB / 0.5325 GB, free: 10.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.287, allocations: 2.788 MB / 0.5353 GB, free: 7.965 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.287, allocations: 45.69 kB / 0.5353 GB, free: 7.914 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.2881, allocations: 2.829 MB / 0.5381 GB, free: 5.055 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.2884, allocations: 0.5349 MB / 0.5386 GB, free: 4.516 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007056/0.2891, allocations: 0.9213 MB / 0.5395 GB, free: 3.582 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2892, allocations: 357.9 kB / 0.5398 GB, free: 3.227 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.2904, allocations: 1.403 MB / 0.5412 GB, free: 1.816 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/0.2929, allocations: 4.225 MB / 0.5453 GB, free: 12.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004201/0.2971, allocations: 6.152 MB / 0.5513 GB, free: 4.625 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.324e-05/0.2972, allocations: 28 kB / 0.5514 GB, free: 4.598 MB / 458.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.00509/0.3023, allocations: 5.456 MB / 0.5567 GB, free: 15.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.3023, allocations: 49.09 kB / 0.5567 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.374e-05/0.3024, allocations: 104.8 kB / 0.5568 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.079e-05/0.3025, allocations: 128 kB / 0.557 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.304, allocations: 0.9981 MB / 0.5579 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000103/0.3041, allocations: 199.2 kB / 0.5581 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.306, allocations: 0.6127 MB / 0.5587 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/0.3062, allocations: 288 kB / 0.559 GB, free: 12.77 MB / 474.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.002366/0.3086, allocations: 1.98 MB / 0.5609 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.3088, allocations: 230.4 kB / 0.5612 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.3091, allocations: 279.8 kB / 0.5614 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.3091, allocations: 18.11 kB / 0.5614 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.3091, allocations: 7.938 kB / 0.5614 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.3091, allocations: 7.984 kB / 0.5615 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005263/0.3144, allocations: 4.838 MB / 0.5662 GB, free: 5.262 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.3144, allocations: 11.94 kB / 0.5662 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.3147, allocations: 167.7 kB / 0.5663 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.3147, allocations: 12 kB / 0.5664 GB, free: 5.074 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.3148, allocations: 24.25 kB / 0.5664 GB, free: 5.051 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.3148, allocations: 12.59 kB / 0.5664 GB, free: 5.039 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.3148, allocations: 19.94 kB / 0.5664 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.3163, allocations: 1.987 MB / 0.5684 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.3165, allocations: 230.1 kB / 0.5686 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.3166, allocations: 31.98 kB / 0.5686 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.3169, allocations: 39.97 kB / 0.5686 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.317, allocations: 92.06 kB / 0.5687 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.3171, allocations: 55.98 kB / 0.5688 GB, free: 2.469 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001371/0.3184, allocations: 1.581 MB / 0.5703 GB, free: 0.875 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3184, allocations: 0 / 0.5703 GB, free: 0.875 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002324/0.3208, allocations: 1.047 MB / 0.5714 GB, free: 15.82 MB / 490.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.0003208/0.3211, allocations: 158.8 kB / 0.5715 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003046/0.3241, allocations: 3.138 MB / 0.5746 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3241, allocations: 0 / 0.5746 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.3247, allocations: 0.7441 MB / 0.5753 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.3255, allocations: 214.4 kB / 0.5755 GB, free: 11.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008689/0.3342, allocations: 8.206 MB / 0.5835 GB, free: 3.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/0.3364, allocations: 2.564 MB / 0.586 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.3367, allocations: 204.5 kB / 0.5862 GB, free: 464 kB / 490.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3367, allocations: 0 / 0.5862 GB, free: 464 kB / 490.7 MB Notification: Performance of Templates: time 0.04683/0.3836, allocations: 45.14 MB / 0.6303 GB, free: 3.434 MB / 0.5261 GB " [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: 7.137483987957239]