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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 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.002104/0.002104, allocations: 216.4 kB / 23.73 MB, free: 4.531 MB / 14.72 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 1.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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.2289/0.2289, allocations: 46.95 MB / 360.8 MB, free: 3.945 MB / 286.1 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 0.002637/0.002637, allocations: 79.88 kB / 0.4961 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3163, allocations: 66.08 MB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01288/0.3291, allocations: 10.05 MB / 0.5705 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007009/0.3362, allocations: 2.917 MB / 0.5733 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.3379, allocations: 71.75 kB / 0.5734 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003675/0.3416, allocations: 1.538 MB / 0.5749 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005544/0.3471, allocations: 1.631 MB / 0.5765 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.3477, allocations: 107.9 kB / 0.5766 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005272/0.353, allocations: 3.304 MB / 0.5798 GB, free: 368 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003049/0.356, allocations: 1.897 MB / 0.5817 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.3584, allocations: 1.164 MB / 0.5828 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004074/0.3625, allocations: 2.528 MB / 0.5853 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009802/0.3634, allocations: 236 kB / 0.5855 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.3654, allocations: 0.6085 MB / 0.5861 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00235/0.3678, allocations: 1.542 MB / 0.5876 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002574/0.3704, allocations: 1.272 MB / 0.5889 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008696/0.379, allocations: 5.967 MB / 0.5947 GB, free: 1.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3791, allocations: 0 / 0.5947 GB, free: 1.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3791, allocations: 0 / 0.5947 GB, free: 1.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001177/0.3792, allocations: 0 / 0.5947 GB, free: 1.059 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.007176/0.3863, allocations: 4.029 MB / 0.5986 GB, free: 12.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3864, allocations: 12.03 kB / 0.5986 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000939/0.3873, allocations: 0.6954 MB / 0.5993 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009908/0.3972, allocations: 2.989 MB / 0.6022 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004551/0.4018, allocations: 1.787 MB / 0.604 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.402, allocations: 188.7 kB / 0.6042 GB, free: 7.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007206/0.4027, allocations: 235.8 kB / 0.6044 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.4192, allocations: 9.76 MB / 0.6139 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.759e-05/0.4193, allocations: 15.88 kB / 0.6139 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004013/0.4197, allocations: 111.8 kB / 0.614 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004004/0.4237, allocations: 2.365 MB / 0.6163 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/0.4418, allocations: 8.932 MB / 0.6251 GB, free: 1.445 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04516/0.4869, allocations: 28.01 MB / 0.6524 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006555/0.4935, allocations: 2.464 MB / 0.6548 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.4951, allocations: 1.017 MB / 0.6558 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.506, allocations: 4.713 MB / 0.6604 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.506, allocations: 51.22 kB / 0.6605 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.479e-06/0.506, allocations: 0 / 0.6605 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008075/0.5141, allocations: 3.139 MB / 0.6635 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.5142, allocations: 115.4 kB / 0.6636 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004233/0.5184, allocations: 2.908 MB / 0.6665 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.5185, allocations: 41.69 kB / 0.6665 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002254/0.5208, allocations: 2.845 MB / 0.6693 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006155/0.5214, allocations: 0.535 MB / 0.6698 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/0.5227, allocations: 0.9447 MB / 0.6708 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5228, allocations: 305.1 kB / 0.671 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.5249, allocations: 1.403 MB / 0.6724 GB, free: 32 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00447/0.5294, allocations: 4.229 MB / 0.6765 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007483/0.5369, allocations: 6.151 MB / 0.6825 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.011e-05/0.537, allocations: 28 kB / 0.6826 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01012/0.5471, allocations: 5.467 MB / 0.6879 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.531e-05/0.5472, allocations: 48 kB / 0.688 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/0.5473, allocations: 100 kB / 0.6881 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.5475, allocations: 132 kB / 0.6882 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003045/0.5505, allocations: 0.9909 MB / 0.6891 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001871/0.5507, allocations: 199.2 kB / 0.6893 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/0.5536, allocations: 0.6397 MB / 0.69 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004328/0.5541, allocations: 288 kB / 0.6902 GB, free: 10.94 MB / 0.5294 GB 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.003389/0.5575, allocations: 1.973 MB / 0.6922 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004359/0.5579, allocations: 242.3 kB / 0.6924 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.5584, allocations: 288.8 kB / 0.6927 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.168e-05/0.5584, allocations: 20 kB / 0.6927 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.5584, allocations: 0 / 0.6927 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5584, allocations: 3.984 kB / 0.6927 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.5692, allocations: 6.027 MB / 0.6986 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.5692, allocations: 8 kB / 0.6986 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.5699, allocations: 163.7 kB / 0.6987 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.5699, allocations: 15.98 kB / 0.6988 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/0.57, allocations: 28 kB / 0.6988 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.005e-05/0.57, allocations: 15.94 kB / 0.6988 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/0.57, allocations: 15.88 kB / 0.6988 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.5727, allocations: 2.012 MB / 0.7008 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/0.5732, allocations: 242 kB / 0.701 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.5734, allocations: 28.23 kB / 0.701 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/0.574, allocations: 51.89 kB / 0.7011 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.5742, allocations: 84.2 kB / 0.7012 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.261e-05/0.5743, allocations: 51.98 kB / 0.7012 GB, free: 15.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002593/0.5769, allocations: 1.67 MB / 0.7028 GB, free: 13.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5769, allocations: 4 kB / 0.7029 GB, free: 13.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003574/0.5804, allocations: 1.028 MB / 0.7039 GB, free: 12.68 MB / 0.545 GB 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.003219/0.5837, allocations: 2.665 MB / 0.7065 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00531/0.589, allocations: 3.142 MB / 0.7095 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.589, allocations: 0.875 kB / 0.7095 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.59, allocations: 0.7373 MB / 0.7102 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.5918, allocations: 309.7 kB / 0.7105 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2897/0.8815, allocations: 31.05 MB / 0.7409 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002801/0.8843, allocations: 2.553 MB / 0.7434 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002751/0.887, allocations: 1.543 MB / 0.7449 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/0.8887, allocations: 1.603 MB / 0.7464 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/0.8887, allocations: 0 / 0.7464 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07324/0.9619, allocations: 41.1 MB / 0.7866 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.73, allocations: 8.047 kB / 0.7866 GB, free: 107.6 MB / 0.5606 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/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: 17.914303719997406]