Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002587/0.002587, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003303/0.003303, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3466/0.3466, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.903e-05, allocations: 4 kB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01561/0.01564, allocations: 11.02 MB / 388.2 MB, free: 7.863 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007607/0.02324, allocations: 3.01 MB / 391.2 MB, free: 4.844 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.02515, allocations: 67.75 kB / 391.3 MB, free: 4.777 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004/0.02915, allocations: 1.666 MB / 393 MB, free: 3.105 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004611/0.03376, allocations: 1.665 MB / 394.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.03425, allocations: 123.7 kB / 394.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005536/0.03979, allocations: 3.369 MB / 398.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0033/0.04309, allocations: 1.96 MB / 400.1 MB, free: 11.94 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.04594, allocations: 1.703 MB / 401.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004788/0.05073, allocations: 2.499 MB / 404.3 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008497/0.05158, allocations: 232 kB / 404.5 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.05325, allocations: 0.6786 MB / 405.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001835/0.05508, allocations: 1.597 MB / 406.8 MB, free: 5.223 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.0566, allocations: 0.9379 MB / 407.7 MB, free: 4.281 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007892/0.0645, allocations: 5.835 MB / 413.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.0645, allocations: 0 / 413.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.0645, allocations: 0 / 413.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001644/0.06467, allocations: 0 / 413.5 MB, free: 14.43 MB / 394.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.009744/0.07441, allocations: 4.79 MB / 418.3 MB, free: 9.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.07445, allocations: 12.62 kB / 418.3 MB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.08625, allocations: 3.465 MB / 421.8 MB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005398/0.09165, allocations: 1.703 MB / 423.5 MB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.09185, allocations: 184.9 kB / 423.7 MB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009366/0.09279, allocations: 236.2 kB / 423.9 MB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/0.106, allocations: 5.285 MB / 429.2 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-05/0.1061, allocations: 19.81 kB / 429.2 MB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003848/0.1065, allocations: 111.8 kB / 429.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004521/0.111, allocations: 2.377 MB / 431.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.1227, allocations: 3.365 MB / 435.1 MB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2013/0.324, allocations: 35.78 MB / 470.9 MB, free: 71.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004619/0.3286, allocations: 1.444 MB / 472.3 MB, free: 70.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007295/0.3293, allocations: 384.3 kB / 472.7 MB, free: 70.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008961/0.3383, allocations: 4.264 MB / 476.9 MB, free: 68.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3383, allocations: 55.75 kB / 477 MB, free: 68.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 4.248e-06/0.3383, allocations: 0 / 477 MB, free: 68.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.005933/0.3442, allocations: 1.912 MB / 478.9 MB, free: 68.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3443, allocations: 116.6 kB / 479 MB, free: 68.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003549/0.3478, allocations: 3.181 MB / 482.2 MB, free: 67.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-05/0.3479, allocations: 43.67 kB / 482.2 MB, free: 66.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001595/0.3495, allocations: 3.105 MB / 485.3 MB, free: 64.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/0.35, allocations: 0.5958 MB / 485.9 MB, free: 64.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.3513, allocations: 1.171 MB / 487.1 MB, free: 63.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3514, allocations: 0.5594 MB / 487.7 MB, free: 63.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.3525, allocations: 0.4887 MB / 488.2 MB, free: 63.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002836/0.3553, allocations: 4.819 MB / 493 MB, free: 57.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004508/0.3598, allocations: 5.836 MB / 498.8 MB, free: 50.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.36, allocations: 29.16 kB / 498.8 MB, free: 50.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.007854/0.3678, allocations: 3.888 MB / 0.491 GB, free: 49.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.655e-05/0.3679, allocations: 48 kB / 0.491 GB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.368, allocations: 103.6 kB / 0.4911 GB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.3681, allocations: 130.6 kB / 0.4912 GB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/0.3708, allocations: 0.9967 MB / 0.4922 GB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001359/0.371, allocations: 194.5 kB / 0.4924 GB, free: 49.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/0.3736, allocations: 0.6142 MB / 0.493 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003814/0.374, allocations: 290.3 kB / 0.4933 GB, free: 48.84 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.001413/0.3754, allocations: 0.6294 MB / 0.4939 GB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.3757, allocations: 257.2 kB / 0.4941 GB, free: 48.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.3762, allocations: 240.8 kB / 0.4943 GB, free: 48.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/0.3762, allocations: 15.62 kB / 0.4944 GB, free: 48.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.3762, allocations: 0 / 0.4944 GB, free: 48.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3762, allocations: 3.281 kB / 0.4944 GB, free: 48.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00795/0.3841, allocations: 5.332 MB / 0.4996 GB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.3842, allocations: 10.45 kB / 0.4996 GB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.3847, allocations: 169.5 kB / 0.4997 GB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.3847, allocations: 12.69 kB / 0.4998 GB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/0.3848, allocations: 31.16 kB / 0.4998 GB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.3848, allocations: 12.72 kB / 0.4998 GB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.3848, allocations: 14.66 kB / 0.4998 GB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.3861, allocations: 1.335 MB / 0.5011 GB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.3865, allocations: 230.2 kB / 0.5013 GB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.3867, allocations: 29.34 kB / 0.5014 GB, free: 44.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.3873, allocations: 46.61 kB / 0.5014 GB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.3874, allocations: 85.06 kB / 0.5015 GB, free: 44.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/0.3875, allocations: 49.44 kB / 0.5015 GB, free: 44.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001396/0.3889, allocations: 1.283 MB / 0.5028 GB, free: 43.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3889, allocations: 0 / 0.5028 GB, free: 43.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003195/0.3921, allocations: 1.052 MB / 0.5038 GB, free: 43.3 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.0002958/0.3924, allocations: 158.3 kB / 0.504 GB, free: 43.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003062/0.3955, allocations: 2.141 MB / 0.5061 GB, free: 42.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3955, allocations: 0 / 0.5061 GB, free: 42.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.3959, allocations: 383 kB / 0.5064 GB, free: 41.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.3973, allocations: 236.5 kB / 0.5066 GB, free: 41.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008459/0.4058, allocations: 6.71 MB / 0.5132 GB, free: 35.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/0.4081, allocations: 2.237 MB / 0.5154 GB, free: 33.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002911/0.411, allocations: 1.307 MB / 0.5167 GB, free: 32.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/0.4113, allocations: 169.5 kB / 0.5168 GB, free: 32.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.973e-06/0.4113, allocations: 0 / 0.5168 GB, free: 32.62 MB / 410.7 MB Notification: Performance of Templates: time 0.03153/0.4429, allocations: 12.9 MB / 0.5294 GB, free: 22.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.340064133983105]