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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 117.1 kB / 18.45 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 190 kB / 21.39 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 247.1 MB, free: 4.203 MB / 190.1 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.3702/0.3702, allocations: 44.24 MB / 343.5 MB, free: 7.617 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001967/0.001967, allocations: 63.75 kB / 479.3 MB, free: 24.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1268, allocations: 60.83 MB / 0.5275 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01308/0.1399, allocations: 11.55 MB / 0.5387 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006541/0.1465, allocations: 3.037 MB / 0.5417 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.1481, allocations: 63.94 kB / 0.5418 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.1514, allocations: 1.557 MB / 0.5433 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.1566, allocations: 1.572 MB / 0.5448 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.157, allocations: 111.8 kB / 0.5449 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005653/0.1627, allocations: 3.332 MB / 0.5482 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00348/0.1662, allocations: 2.183 MB / 0.5503 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.1686, allocations: 1.16 MB / 0.5515 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004373/0.173, allocations: 2.443 MB / 0.5538 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.174, allocations: 228 kB / 0.5541 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.1758, allocations: 0.7021 MB / 0.5547 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.1778, allocations: 1.515 MB / 0.5562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00246/0.1802, allocations: 1.824 MB / 0.558 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008728/0.189, allocations: 5.994 MB / 0.5639 GB, free: 7.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.189, allocations: 0 / 0.5639 GB, free: 7.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.189, allocations: 0 / 0.5639 GB, free: 7.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002391/0.1893, allocations: 0 / 0.5639 GB, free: 7.75 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: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.008216/0.1975, allocations: 4.143 MB / 0.5679 GB, free: 3.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1976, allocations: 8.031 kB / 0.5679 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.2077, allocations: 2.993 MB / 0.5708 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00383/0.2116, allocations: 1.836 MB / 0.5726 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.2118, allocations: 192.9 kB / 0.5728 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006476/0.2124, allocations: 239.8 kB / 0.573 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0173/0.2298, allocations: 9.753 MB / 0.5826 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.498e-05/0.2299, allocations: 19.81 kB / 0.5826 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003945/0.2303, allocations: 115.8 kB / 0.5827 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004052/0.2344, allocations: 2.362 MB / 0.585 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.373/0.6073, allocations: 8.944 MB / 0.5937 GB, free: 46.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06295/0.6703, allocations: 29.57 MB / 0.6226 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008618/0.679, allocations: 3.481 MB / 0.626 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.681, allocations: 1.101 MB / 0.6271 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/0.6938, allocations: 6.486 MB / 0.6334 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.6939, allocations: 39.22 kB / 0.6335 GB, free: 19.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 6.682e-06/0.6939, allocations: 4 kB / 0.6335 GB, free: 19.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=135): time 0.01026/0.7042, allocations: 3.139 MB / 0.6365 GB, free: 16.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.7043, allocations: 115.4 kB / 0.6366 GB, free: 16.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005207/0.7095, allocations: 2.751 MB / 0.6393 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001875/0.7097, allocations: 41.7 kB / 0.6394 GB, free: 13.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002189/0.7119, allocations: 2.849 MB / 0.6421 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007332/0.7127, allocations: 0.5438 MB / 0.6427 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/0.7142, allocations: 0.9313 MB / 0.6436 GB, free: 9.723 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.7143, allocations: 305.1 kB / 0.6439 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002541/0.7168, allocations: 1.399 MB / 0.6452 GB, free: 8.016 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003957/0.7208, allocations: 4.241 MB / 0.6494 GB, free: 2.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.7311, allocations: 6.146 MB / 0.6554 GB, free: 10.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001197/0.7313, allocations: 28 kB / 0.6554 GB, free: 10.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01545/0.7467, allocations: 5.466 MB / 0.6607 GB, free: 5.316 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.7469, allocations: 48 kB / 0.6608 GB, free: 5.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/0.7471, allocations: 100.9 kB / 0.6609 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.7473, allocations: 132 kB / 0.661 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004925/0.7522, allocations: 0.9942 MB / 0.662 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002608/0.7525, allocations: 204.4 kB / 0.6622 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005537/0.7581, allocations: 0.6268 MB / 0.6628 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008326/0.7589, allocations: 290.2 kB / 0.6631 GB, free: 2.938 MB / 462.1 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.005062/0.764, allocations: 1.975 MB / 0.665 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007314/0.7648, allocations: 246.3 kB / 0.6652 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007091/0.7655, allocations: 288.8 kB / 0.6655 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-05/0.7655, allocations: 20 kB / 0.6655 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/0.7656, allocations: 7.938 kB / 0.6655 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.7656, allocations: 3.984 kB / 0.6655 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/0.7814, allocations: 6.198 MB / 0.6716 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/0.7815, allocations: 8 kB / 0.6716 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.7825, allocations: 167.7 kB / 0.6718 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/0.7825, allocations: 12 kB / 0.6718 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.7826, allocations: 24 kB / 0.6718 GB, free: 9.844 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.774e-05/0.7827, allocations: 21.8 kB / 0.6718 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-05/0.7827, allocations: 11.94 kB / 0.6718 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003742/0.7865, allocations: 2.011 MB / 0.6738 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.7876, allocations: 319.1 kB / 0.6741 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007549/0.7884, allocations: 31.67 kB / 0.6741 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.7897, allocations: 43.95 kB / 0.6742 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.7899, allocations: 84.23 kB / 0.6742 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.79, allocations: 51.98 kB / 0.6743 GB, free: 7.145 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004284/0.7943, allocations: 1.67 MB / 0.6759 GB, free: 5.465 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7943, allocations: 0 / 0.6759 GB, free: 5.465 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005715/0.8001, allocations: 1.063 MB / 0.677 GB, free: 4.402 MB / 478.1 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.0006138/0.8007, allocations: 150.8 kB / 0.6771 GB, free: 4.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006498/0.8072, allocations: 3.286 MB / 0.6803 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.8073, allocations: 3.938 kB / 0.6803 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.8086, allocations: 0.7989 MB / 0.6811 GB, free: 192 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/0.8114, allocations: 312.8 kB / 0.6814 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.8267, allocations: 7.798 MB / 0.689 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/0.8306, allocations: 3.1 MB / 0.692 GB, free: 4.836 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003422/0.8341, allocations: 1.544 MB / 0.6936 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.8345, allocations: 171.4 kB / 0.6937 GB, free: 3.117 MB / 494.1 MB Notification: Performance of SimCode: time 1.303e-06/0.8345, allocations: 4 kB / 0.6937 GB, free: 3.113 MB / 494.1 MB Notification: Performance of Templates: time 0.04691/0.8814, allocations: 17.76 MB / 0.7111 GB, free: 1.449 MB / 0.4981 GB " [Timeout remaining time 659] 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.664710309356451]