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.0007922/0.0007922, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.000845/0.000845, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 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 0.8798/0.8798, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.2246/0.2246, allocations: 34.24 MB / 294.8 MB, free: 0.668 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.371e-05, allocations: 10.22 kB / 442.1 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.1799/0.1799, allocations: 10.05 MB / 452.2 MB, free: 38.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004563/0.1845, allocations: 2.921 MB / 455.1 MB, free: 36.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.186, allocations: 69.91 kB / 455.2 MB, free: 36.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.1881, allocations: 1.621 MB / 456.8 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.1912, allocations: 1.661 MB / 458.5 MB, free: 35.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.1917, allocations: 127.2 kB / 458.6 MB, free: 35.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.1951, allocations: 3.363 MB / 462 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.1972, allocations: 1.913 MB / 463.9 MB, free: 33.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.1994, allocations: 1.688 MB / 465.6 MB, free: 32.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.2016, allocations: 2.487 MB / 468 MB, free: 31.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.2021, allocations: 229 kB / 468.3 MB, free: 31.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009035/0.203, allocations: 0.6745 MB / 468.9 MB, free: 31.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007753/0.2038, allocations: 1.584 MB / 470.5 MB, free: 30.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008162/0.2046, allocations: 0.933 MB / 471.5 MB, free: 30.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004005/0.2086, allocations: 5.83 MB / 477.3 MB, free: 28.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2086, allocations: 0 / 477.3 MB, free: 28.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2086, allocations: 6.188 kB / 477.3 MB, free: 28.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001989/0.2088, allocations: 0 / 477.3 MB, free: 28.25 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.005447/0.2143, allocations: 3.988 MB / 481.3 MB, free: 25.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.2143, allocations: 8.906 kB / 481.3 MB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008635/0.2152, allocations: 0.6876 MB / 482 MB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005873/0.221, allocations: 3.015 MB / 485 MB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/0.2244, allocations: 1.795 MB / 486.8 MB, free: 24.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.2245, allocations: 188 kB / 487 MB, free: 24.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005775/0.2251, allocations: 236.6 kB / 487.2 MB, free: 23.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.2381, allocations: 9.779 MB / 497 MB, free: 20.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.938e-05/0.2382, allocations: 18.88 kB / 497 MB, free: 20.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003184/0.2385, allocations: 114.2 kB / 497.1 MB, free: 19.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002869/0.2414, allocations: 2.366 MB / 499.5 MB, free: 19.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/0.2545, allocations: 8.95 MB / 0.4965 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03217/0.2866, allocations: 28.15 MB / 0.524 GB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004197/0.2908, allocations: 2.594 MB / 0.5265 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.292, allocations: 1.014 MB / 0.5275 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006563/0.2985, allocations: 4.865 MB / 0.5323 GB, free: 8.695 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.2986, allocations: 55.14 kB / 0.5323 GB, free: 8.633 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 4.438e-06/0.2986, allocations: 4 kB / 0.5323 GB, free: 8.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.005368/0.3039, allocations: 3.342 MB / 0.5356 GB, free: 5.277 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.304, allocations: 115.5 kB / 0.5357 GB, free: 5.137 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003251/0.3072, allocations: 2.904 MB / 0.5385 GB, free: 2.211 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.3073, allocations: 37.7 kB / 0.5386 GB, free: 2.168 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00164/0.309, allocations: 2.826 MB / 0.5413 GB, free: 15.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004298/0.3094, allocations: 0.5388 MB / 0.5419 GB, free: 14.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008656/0.3103, allocations: 0.9213 MB / 0.5428 GB, free: 13.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.3104, allocations: 301.1 kB / 0.543 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.3118, allocations: 1.406 MB / 0.5444 GB, free: 12.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002911/0.3147, allocations: 4.229 MB / 0.5486 GB, free: 6.477 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005145/0.3199, allocations: 6.152 MB / 0.5546 GB, free: 14.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.251e-05/0.3199, allocations: 32 kB / 0.5546 GB, free: 14.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.007274/0.3272, allocations: 5.458 MB / 0.5599 GB, free: 9.434 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.3273, allocations: 48 kB / 0.56 GB, free: 9.387 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.3274, allocations: 104 kB / 0.5601 GB, free: 9.285 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.653e-05/0.3275, allocations: 135.8 kB / 0.5602 GB, free: 9.156 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.3293, allocations: 0.9942 MB / 0.5612 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001271/0.3294, allocations: 195.2 kB / 0.5614 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.3316, allocations: 0.6242 MB / 0.562 GB, free: 7.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/0.3319, allocations: 292.3 kB / 0.5622 GB, free: 7.055 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.002543/0.3344, allocations: 1.981 MB / 0.5642 GB, free: 5.059 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.3347, allocations: 238.4 kB / 0.5644 GB, free: 4.824 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.3351, allocations: 292.7 kB / 0.5647 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/0.3351, allocations: 20.17 kB / 0.5647 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3351, allocations: 0 / 0.5647 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-06/0.3351, allocations: 11.95 kB / 0.5647 GB, free: 4.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007277/0.3424, allocations: 6.067 MB / 0.5706 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.3424, allocations: 8 kB / 0.5706 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.3428, allocations: 163.7 kB / 0.5708 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.3428, allocations: 15.94 kB / 0.5708 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.3429, allocations: 28 kB / 0.5708 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.3429, allocations: 15.98 kB / 0.5709 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.3429, allocations: 11.94 kB / 0.5709 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.3448, allocations: 1.997 MB / 0.5728 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.3452, allocations: 242.1 kB / 0.573 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.3454, allocations: 27.98 kB / 0.5731 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.3457, allocations: 43.95 kB / 0.5731 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.953e-05/0.3458, allocations: 88.39 kB / 0.5732 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.3459, allocations: 47.98 kB / 0.5732 GB, free: 11.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001873/0.3478, allocations: 1.67 MB / 0.5749 GB, free: 9.797 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3478, allocations: 0 / 0.5749 GB, free: 9.797 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002587/0.3504, allocations: 1.035 MB / 0.5759 GB, free: 8.758 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.001948/0.3523, allocations: 2.654 MB / 0.5785 GB, free: 5.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003663/0.356, allocations: 3.134 MB / 0.5815 GB, free: 2.867 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.356, allocations: 9.875 kB / 0.5816 GB, free: 2.859 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.3566, allocations: 0.7422 MB / 0.5823 GB, free: 2.121 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.3577, allocations: 290.3 kB / 0.5826 GB, free: 1.848 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03362/0.3913, allocations: 30.87 MB / 0.6127 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00265/0.394, allocations: 2.556 MB / 0.6152 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002308/0.3963, allocations: 1.552 MB / 0.6167 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/0.3982, allocations: 1.594 MB / 0.6183 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of SimCode: time 2.174e-06/0.3982, allocations: 0 / 0.6183 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2124/0.6106, allocations: 41.12 MB / 0.6584 GB, free: 160 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/9.06, allocations: 9.219 kB / 0.6584 GB, free: 160 MB / 0.5417 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] 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: 11.148258259519935]