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.0008534/0.0008534, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007891/0.0007891, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.867/0.867, allocations: 177.1 MB / 204.3 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.2398/0.2398, allocations: 32.79 MB / 293.5 MB, free: 1.211 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 2.585e-06/2.585e-06, allocations: 4 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.104e-05, allocations: 6.219 kB / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.181/0.181, allocations: 10.07 MB / 449.6 MB, free: 41.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004285/0.1853, allocations: 2.929 MB / 452.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007147/0.186, allocations: 65.34 kB / 452.6 MB, free: 39.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.1875, allocations: 1.611 MB / 454.2 MB, free: 38.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.1893, allocations: 1.664 MB / 455.9 MB, free: 38.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.1895, allocations: 124.1 kB / 456 MB, free: 37.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.1916, allocations: 3.367 MB / 459.4 MB, free: 36.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.1927, allocations: 1.91 MB / 461.3 MB, free: 35.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.194, allocations: 1.692 MB / 463 MB, free: 34.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.1956, allocations: 2.483 MB / 465.5 MB, free: 34.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.1959, allocations: 229 kB / 465.7 MB, free: 34.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007939/0.1967, allocations: 0.6747 MB / 466.4 MB, free: 33.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006739/0.1973, allocations: 1.587 MB / 468 MB, free: 33.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005685/0.1979, allocations: 0.9278 MB / 468.9 MB, free: 32.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.2012, allocations: 5.827 MB / 474.7 MB, free: 30.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2012, allocations: 4 kB / 474.7 MB, free: 30.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2013, allocations: 0 / 474.7 MB, free: 30.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.44e-05/0.2013, allocations: 0 / 474.7 MB, free: 30.77 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.004086/0.2054, allocations: 3.987 MB / 478.7 MB, free: 28.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.2055, allocations: 15.17 kB / 478.7 MB, free: 28.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004736/0.2059, allocations: 0.6881 MB / 479.4 MB, free: 28.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/0.2115, allocations: 3.014 MB / 482.4 MB, free: 27.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/0.2144, allocations: 1.791 MB / 484.2 MB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.944e-05/0.2145, allocations: 184.4 kB / 484.4 MB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003796/0.2149, allocations: 236.5 kB / 484.6 MB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.2268, allocations: 9.791 MB / 494.4 MB, free: 22.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.204e-05/0.2268, allocations: 14.78 kB / 494.4 MB, free: 22.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.2271, allocations: 113.5 kB / 494.5 MB, free: 22.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002631/0.2297, allocations: 2.368 MB / 496.9 MB, free: 22.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.2427, allocations: 8.948 MB / 0.494 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02792/0.2707, allocations: 28.14 MB / 0.5215 GB, free: 5.191 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003849/0.2745, allocations: 2.59 MB / 0.524 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.2755, allocations: 1.022 MB / 0.525 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005998/0.2815, allocations: 4.878 MB / 0.5298 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.2816, allocations: 43.16 kB / 0.5298 GB, free: 12.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 3.486e-06/0.2816, allocations: 0 / 0.5298 GB, free: 12.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.004932/0.2865, allocations: 3.35 MB / 0.5331 GB, free: 9.238 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.2865, allocations: 111.5 kB / 0.5332 GB, free: 9.102 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/0.2892, allocations: 2.904 MB / 0.536 GB, free: 6.176 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.2893, allocations: 45.69 kB / 0.5361 GB, free: 6.125 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.2905, allocations: 2.818 MB / 0.5388 GB, free: 3.277 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.2907, allocations: 0.5333 MB / 0.5393 GB, free: 2.742 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007337/0.2915, allocations: 0.9212 MB / 0.5402 GB, free: 1.809 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.2916, allocations: 309.1 kB / 0.5405 GB, free: 1.504 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.2928, allocations: 1.403 MB / 0.5419 GB, free: 96 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/0.2953, allocations: 4.229 MB / 0.546 GB, free: 10.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005091/0.3004, allocations: 6.143 MB / 0.552 GB, free: 2.906 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-05/0.3004, allocations: 28 kB / 0.5521 GB, free: 2.879 MB / 458.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.005993/0.3064, allocations: 5.465 MB / 0.5574 GB, free: 13.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.3065, allocations: 52 kB / 0.5575 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.503e-05/0.3066, allocations: 100 kB / 0.5575 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.464e-05/0.3067, allocations: 132.8 kB / 0.5577 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.3084, allocations: 0.9981 MB / 0.5586 GB, free: 12.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-05/0.3085, allocations: 200 kB / 0.5588 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.3105, allocations: 0.632 MB / 0.5595 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/0.3108, allocations: 288 kB / 0.5597 GB, free: 11.02 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.002669/0.3135, allocations: 1.978 MB / 0.5617 GB, free: 9.027 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.3137, allocations: 242.4 kB / 0.5619 GB, free: 8.789 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.314, allocations: 288.8 kB / 0.5622 GB, free: 8.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.3141, allocations: 19.94 kB / 0.5622 GB, free: 8.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.3141, allocations: 6.25 kB / 0.5622 GB, free: 8.477 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3141, allocations: 3.984 kB / 0.5622 GB, free: 8.473 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007332/0.3214, allocations: 6.063 MB / 0.5681 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.3214, allocations: 8 kB / 0.5681 GB, free: 2.246 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.3218, allocations: 171.8 kB / 0.5683 GB, free: 2.078 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.3218, allocations: 12 kB / 0.5683 GB, free: 2.066 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.3219, allocations: 28 kB / 0.5683 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/0.3219, allocations: 20.17 kB / 0.5683 GB, free: 2.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.3219, allocations: 12 kB / 0.5684 GB, free: 2.008 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.3236, allocations: 1.996 MB / 0.5703 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/0.3241, allocations: 246.1 kB / 0.5705 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.3243, allocations: 27.94 kB / 0.5706 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.3246, allocations: 47.95 kB / 0.5706 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.3247, allocations: 80.2 kB / 0.5707 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.356e-05/0.3248, allocations: 55.89 kB / 0.5707 GB, free: 15.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001897/0.3267, allocations: 1.67 MB / 0.5724 GB, free: 13.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3267, allocations: 0 / 0.5724 GB, free: 13.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002914/0.3296, allocations: 1.032 MB / 0.5734 GB, free: 12.73 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.001962/0.3316, allocations: 2.642 MB / 0.576 GB, free: 9.953 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003547/0.3351, allocations: 3.142 MB / 0.579 GB, free: 6.836 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.3351, allocations: 7.938 kB / 0.579 GB, free: 6.828 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008472/0.336, allocations: 0.732 MB / 0.5798 GB, free: 6.102 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.3371, allocations: 307.9 kB / 0.58 GB, free: 5.812 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03093/0.368, allocations: 30.87 MB / 0.6102 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002415/0.3705, allocations: 2.553 MB / 0.6127 GB, free: 336 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001976/0.3724, allocations: 1.552 MB / 0.6142 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/0.3739, allocations: 1.605 MB / 0.6158 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.352e-06/0.3739, allocations: 0 / 0.6158 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.207/0.5809, allocations: 41.13 MB / 0.6559 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.83/9.411, allocations: 2.75 kB / 0.6559 GB, free: 153.7 MB / 0.5261 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable surfaceWireframe.nu in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceWireframe.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceWireframe.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceWireframe.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceSolid.nu in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceSolid.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceSolid.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceSolid.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.482846203260124]