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.0008437/0.0008437, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0008544/0.0008544, allocations: 170.3 kB / 23.95 MB, free: 0.6016 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.8906/0.8906, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2426/0.2426, allocations: 32.79 MB / 293.5 MB, free: 1.242 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.412e-05, allocations: 2.844 kB / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.1764/0.1765, allocations: 10.07 MB / 449.6 MB, free: 41.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004411/0.1809, allocations: 2.928 MB / 452.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.1822, allocations: 70 kB / 452.6 MB, free: 39.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.184, allocations: 1.609 MB / 454.2 MB, free: 38.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.1864, allocations: 1.659 MB / 455.9 MB, free: 38.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.1866, allocations: 130.9 kB / 456 MB, free: 38.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002358/0.189, allocations: 3.362 MB / 459.4 MB, free: 36.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.1903, allocations: 1.911 MB / 461.3 MB, free: 35.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.1916, allocations: 1.694 MB / 463 MB, free: 34.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.1933, allocations: 2.481 MB / 465.5 MB, free: 34.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.1936, allocations: 230.1 kB / 465.7 MB, free: 34.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008501/0.1945, allocations: 0.6737 MB / 466.4 MB, free: 34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007137/0.1952, allocations: 1.586 MB / 468 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006383/0.1958, allocations: 0.9328 MB / 468.9 MB, free: 32.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.1996, allocations: 5.832 MB / 474.7 MB, free: 30.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1996, allocations: 4 kB / 474.7 MB, free: 30.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1996, allocations: 0 / 474.7 MB, free: 30.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002249/0.1998, allocations: 0 / 474.7 MB, free: 30.79 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.006579/0.2064, allocations: 3.981 MB / 478.7 MB, free: 28.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.2064, allocations: 13.03 kB / 478.7 MB, free: 28.38 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008421/0.2073, allocations: 0.6954 MB / 479.4 MB, free: 28.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005912/0.2132, allocations: 3.01 MB / 482.4 MB, free: 27.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003433/0.2166, allocations: 1.789 MB / 484.2 MB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.2167, allocations: 183 kB / 484.4 MB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005443/0.2173, allocations: 243.2 kB / 484.6 MB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.2308, allocations: 9.79 MB / 494.4 MB, free: 22.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/0.2308, allocations: 15.67 kB / 494.4 MB, free: 22.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003285/0.2312, allocations: 112.9 kB / 494.5 MB, free: 22.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002577/0.2337, allocations: 2.361 MB / 496.9 MB, free: 22.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.2469, allocations: 8.952 MB / 0.494 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02637/0.2733, allocations: 28.15 MB / 0.5215 GB, free: 5.211 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003962/0.2773, allocations: 2.582 MB / 0.524 GB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.2785, allocations: 1.026 MB / 0.525 GB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006679/0.2851, allocations: 4.878 MB / 0.5298 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.2852, allocations: 47.22 kB / 0.5298 GB, free: 12.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 6.873e-06/0.2852, allocations: 0 / 0.5298 GB, free: 12.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.005369/0.2906, allocations: 3.342 MB / 0.5331 GB, free: 9.262 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.2906, allocations: 115.4 kB / 0.5332 GB, free: 9.121 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/0.294, allocations: 2.908 MB / 0.536 GB, free: 6.191 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.2941, allocations: 41.69 kB / 0.5361 GB, free: 6.145 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.2956, allocations: 2.818 MB / 0.5388 GB, free: 3.297 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006445/0.2962, allocations: 0.5372 MB / 0.5394 GB, free: 2.758 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000963/0.2972, allocations: 0.9252 MB / 0.5403 GB, free: 1.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.2972, allocations: 301.1 kB / 0.5405 GB, free: 1.523 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.2986, allocations: 1.399 MB / 0.5419 GB, free: 120 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00268/0.3013, allocations: 4.229 MB / 0.546 GB, free: 10.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004831/0.3061, allocations: 6.151 MB / 0.552 GB, free: 2.918 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.527e-05/0.3062, allocations: 32 kB / 0.5521 GB, free: 2.887 MB / 458.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.006885/0.3131, allocations: 5.461 MB / 0.5574 GB, free: 13.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.3131, allocations: 48 kB / 0.5575 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.3132, allocations: 100 kB / 0.5576 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.631e-05/0.3133, allocations: 136.8 kB / 0.5577 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.3152, allocations: 0.9942 MB / 0.5587 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001113/0.3153, allocations: 192 kB / 0.5588 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.3175, allocations: 0.6359 MB / 0.5595 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/0.3178, allocations: 284 kB / 0.5597 GB, free: 11.05 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.002488/0.3203, allocations: 1.991 MB / 0.5617 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.3206, allocations: 242.4 kB / 0.5619 GB, free: 8.805 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.3209, allocations: 288.8 kB / 0.5622 GB, free: 8.516 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.321, allocations: 19.94 kB / 0.5622 GB, free: 8.496 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.321, allocations: 2.25 kB / 0.5622 GB, free: 8.496 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.321, allocations: 3.984 kB / 0.5622 GB, free: 8.492 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007328/0.3283, allocations: 6.063 MB / 0.5681 GB, free: 2.273 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.3283, allocations: 8 kB / 0.5681 GB, free: 2.266 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.3287, allocations: 167.8 kB / 0.5683 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.3287, allocations: 12 kB / 0.5683 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.3288, allocations: 31.98 kB / 0.5683 GB, free: 2.059 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/0.3288, allocations: 15.94 kB / 0.5683 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.3288, allocations: 12.19 kB / 0.5684 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.3307, allocations: 1.999 MB / 0.5703 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.3311, allocations: 246.1 kB / 0.5705 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.3313, allocations: 31.98 kB / 0.5706 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.3316, allocations: 39.97 kB / 0.5706 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/0.3317, allocations: 84.19 kB / 0.5707 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.3318, allocations: 51.98 kB / 0.5707 GB, free: 15.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002164/0.334, allocations: 1.67 MB / 0.5724 GB, free: 13.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.334, allocations: 0 / 0.5724 GB, free: 13.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00375/0.3377, allocations: 1.032 MB / 0.5734 GB, free: 12.75 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.002813/0.3405, allocations: 2.646 MB / 0.576 GB, free: 9.973 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003888/0.3444, allocations: 3.142 MB / 0.579 GB, free: 6.855 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.3444, allocations: 0 / 0.579 GB, free: 6.855 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006736/0.3451, allocations: 0.7437 MB / 0.5798 GB, free: 6.117 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.3463, allocations: 307.7 kB / 0.5801 GB, free: 5.832 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03482/0.3812, allocations: 30.87 MB / 0.6102 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003351/0.3845, allocations: 2.56 MB / 0.6127 GB, free: 348 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002612/0.3871, allocations: 1.548 MB / 0.6142 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002711/0.3898, allocations: 1.598 MB / 0.6158 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of SimCode: time 3.276e-06/0.3898, allocations: 0 / 0.6158 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2168/0.6066, allocations: 41.13 MB / 0.6559 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.812, allocations: 5.562 kB / 0.6559 GB, free: 153.8 MB / 0.5261 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] 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: 10.896671131253242]