Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008092/0.0008092, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008606/0.0008606, allocations: 174.3 kB / 23.95 MB, free: 0.6055 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.8739/0.8739, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.237/0.237, allocations: 34.25 MB / 294.9 MB, free: 0.6914 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.374e-05, allocations: 2.281 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.1892/0.1892, allocations: 10.06 MB / 452.2 MB, free: 38.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003429/0.1926, allocations: 2.924 MB / 455.1 MB, free: 36.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004759/0.1931, allocations: 71.25 kB / 455.2 MB, free: 36.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.1945, allocations: 1.606 MB / 456.8 MB, free: 36.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.1958, allocations: 1.66 MB / 458.5 MB, free: 35.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.196, allocations: 135.1 kB / 458.6 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.1975, allocations: 3.356 MB / 462 MB, free: 34.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009157/0.1984, allocations: 1.911 MB / 463.9 MB, free: 33.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000817/0.1992, allocations: 1.69 MB / 465.6 MB, free: 32.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.2005, allocations: 2.495 MB / 468.1 MB, free: 31.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.2007, allocations: 228.8 kB / 468.3 MB, free: 31.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005345/0.2012, allocations: 0.6737 MB / 469 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005357/0.2018, allocations: 1.584 MB / 470.5 MB, free: 30.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.2022, allocations: 0.9322 MB / 471.5 MB, free: 30.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.2046, allocations: 5.83 MB / 477.3 MB, free: 28.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2046, allocations: 3.469 kB / 477.3 MB, free: 28.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2046, allocations: 0 / 477.3 MB, free: 28.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.626e-05/0.2047, allocations: 0 / 477.3 MB, free: 28.23 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.003133/0.2078, allocations: 3.992 MB / 481.3 MB, free: 25.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2079, allocations: 8.938 kB / 481.3 MB, free: 25.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005864/0.2084, allocations: 0.6944 MB / 482 MB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005988/0.2144, allocations: 3.011 MB / 485 MB, free: 25.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.2167, allocations: 1.788 MB / 486.8 MB, free: 24.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.029e-05/0.2167, allocations: 191.1 kB / 487 MB, free: 24.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.2171, allocations: 237.2 kB / 487.2 MB, free: 23.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009648/0.2267, allocations: 9.779 MB / 497 MB, free: 20 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.2268, allocations: 18.81 kB / 497 MB, free: 19.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.227, allocations: 114.3 kB / 497.1 MB, free: 19.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002257/0.2292, allocations: 2.36 MB / 499.5 MB, free: 19.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008903/0.2381, allocations: 8.957 MB / 0.4965 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01967/0.2578, allocations: 28.15 MB / 0.524 GB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.2615, allocations: 2.588 MB / 0.5265 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009334/0.2624, allocations: 1.022 MB / 0.5275 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005743/0.2682, allocations: 4.87 MB / 0.5323 GB, free: 8.773 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.2682, allocations: 39.22 kB / 0.5323 GB, free: 8.727 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 2.685e-06/0.2682, allocations: 0 / 0.5323 GB, free: 8.727 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.004634/0.2728, allocations: 3.354 MB / 0.5356 GB, free: 5.367 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.2729, allocations: 115.5 kB / 0.5357 GB, free: 5.227 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.2755, allocations: 2.904 MB / 0.5386 GB, free: 2.301 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.2755, allocations: 41.7 kB / 0.5386 GB, free: 2.254 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.2765, allocations: 2.818 MB / 0.5414 GB, free: 15.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.2768, allocations: 0.531 MB / 0.5419 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006907/0.2775, allocations: 0.9213 MB / 0.5428 GB, free: 13.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.726e-05/0.2775, allocations: 305.1 kB / 0.5431 GB, free: 13.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.2788, allocations: 1.403 MB / 0.5444 GB, free: 12.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/0.2814, allocations: 4.233 MB / 0.5486 GB, free: 6.574 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004155/0.2855, allocations: 6.152 MB / 0.5546 GB, free: 15.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/0.2855, allocations: 28 kB / 0.5546 GB, free: 15 MB / 474.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.004804/0.2903, allocations: 5.466 MB / 0.5599 GB, free: 9.527 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.2904, allocations: 48 kB / 0.56 GB, free: 9.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.375e-05/0.2904, allocations: 100 kB / 0.5601 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.134e-05/0.2905, allocations: 131.8 kB / 0.5602 GB, free: 9.258 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.292, allocations: 0.9981 MB / 0.5612 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.417e-05/0.2921, allocations: 191.3 kB / 0.5614 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.2934, allocations: 0.632 MB / 0.562 GB, free: 7.434 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.2937, allocations: 292 kB / 0.5623 GB, free: 7.148 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.00212/0.2958, allocations: 1.983 MB / 0.5642 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.2959, allocations: 238.4 kB / 0.5644 GB, free: 4.918 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.2962, allocations: 296.7 kB / 0.5647 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.2962, allocations: 16 kB / 0.5647 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.2962, allocations: 4.25 kB / 0.5647 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2962, allocations: 3.984 kB / 0.5647 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/0.3018, allocations: 6.067 MB / 0.5707 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.3018, allocations: 12.06 kB / 0.5707 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.3021, allocations: 163.7 kB / 0.5708 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3021, allocations: 8 kB / 0.5708 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.3021, allocations: 35.94 kB / 0.5709 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/0.3021, allocations: 19.92 kB / 0.5709 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.3021, allocations: 11.94 kB / 0.5709 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.3035, allocations: 1.996 MB / 0.5728 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.3037, allocations: 242.1 kB / 0.5731 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.3038, allocations: 24 kB / 0.5731 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.3041, allocations: 47.95 kB / 0.5731 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.3042, allocations: 92.11 kB / 0.5732 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.3043, allocations: 48 kB / 0.5733 GB, free: 11.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001333/0.3056, allocations: 1.666 MB / 0.5749 GB, free: 9.891 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3056, allocations: 4 kB / 0.5749 GB, free: 9.887 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001915/0.3075, allocations: 1.032 MB / 0.5759 GB, free: 8.852 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.002333/0.3098, allocations: 2.646 MB / 0.5785 GB, free: 6.074 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.3122, allocations: 3.134 MB / 0.5816 GB, free: 2.965 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3122, allocations: 4 kB / 0.5816 GB, free: 2.961 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005394/0.3128, allocations: 0.7401 MB / 0.5823 GB, free: 2.223 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/0.3136, allocations: 307.7 kB / 0.5826 GB, free: 1.934 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/0.3372, allocations: 30.87 MB / 0.6127 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002032/0.3392, allocations: 2.55 MB / 0.6152 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002189/0.3414, allocations: 1.554 MB / 0.6167 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.3426, allocations: 1.602 MB / 0.6183 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.3426, allocations: 0 / 0.6183 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2171/0.5597, allocations: 41.12 MB / 0.6585 GB, free: 160 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.821, allocations: 8 kB / 0.6585 GB, free: 160 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 10.87112337257713]