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.001777/0.001777, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 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.002317/0.002317, allocations: 212.6 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.614/1.614, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.23/0.23, allocations: 44.93 MB / 359.6 MB, free: 6.066 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 59.91 kB / 0.4938 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3903, allocations: 65.47 MB / 0.5577 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01351/0.4038, allocations: 9.973 MB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007454/0.4112, allocations: 2.905 MB / 0.5703 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.4136, allocations: 71.75 kB / 0.5704 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004098/0.4177, allocations: 1.538 MB / 0.5719 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004566/0.4223, allocations: 1.627 MB / 0.5734 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.4229, allocations: 119.8 kB / 0.5736 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005239/0.4281, allocations: 3.309 MB / 0.5768 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/0.4309, allocations: 1.901 MB / 0.5787 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.433, allocations: 1.168 MB / 0.5798 GB, free: 0.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004311/0.4373, allocations: 2.606 MB / 0.5823 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00079/0.4381, allocations: 228 kB / 0.5826 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.4398, allocations: 0.624 MB / 0.5832 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.4417, allocations: 1.542 MB / 0.5847 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002149/0.4438, allocations: 1.28 MB / 0.5859 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008977/0.4528, allocations: 5.963 MB / 0.5917 GB, free: 4.547 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.4528, allocations: 0 / 0.5917 GB, free: 4.547 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4528, allocations: 0 / 0.5917 GB, free: 4.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002284/0.4531, allocations: 0 / 0.5917 GB, free: 4.547 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.01155/0.4646, allocations: 4.029 MB / 0.5957 GB, free: 472 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.4647, allocations: 8.031 kB / 0.5957 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001359/0.4648, allocations: 92.92 kB / 0.5958 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001335/0.4661, allocations: 0.6954 MB / 0.5965 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.4763, allocations: 2.989 MB / 0.5994 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004792/0.4811, allocations: 1.791 MB / 0.6011 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.4813, allocations: 188.5 kB / 0.6013 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009219/0.4822, allocations: 235.8 kB / 0.6015 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/0.5002, allocations: 9.756 MB / 0.6111 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.841e-05/0.5003, allocations: 19.81 kB / 0.6111 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005447/0.5008, allocations: 111.8 kB / 0.6112 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004194/0.505, allocations: 2.365 MB / 0.6135 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/0.5236, allocations: 8.951 MB / 0.6222 GB, free: 4.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04971/0.5733, allocations: 28 MB / 0.6496 GB, free: 8.062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006917/0.5802, allocations: 2.46 MB / 0.652 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.5822, allocations: 1.013 MB / 0.653 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.5939, allocations: 4.716 MB / 0.6576 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.5939, allocations: 47.16 kB / 0.6576 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 6.201e-06/0.5939, allocations: 0 / 0.6576 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008531/0.6024, allocations: 3.135 MB / 0.6607 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.6026, allocations: 115.5 kB / 0.6608 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004494/0.6071, allocations: 2.742 MB / 0.6635 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.6072, allocations: 37.7 kB / 0.6635 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002448/0.6097, allocations: 2.845 MB / 0.6663 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007355/0.6104, allocations: 0.5389 MB / 0.6668 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/0.6118, allocations: 0.9408 MB / 0.6677 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6119, allocations: 305.1 kB / 0.668 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/0.6141, allocations: 1.403 MB / 0.6694 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005088/0.6192, allocations: 4.229 MB / 0.6735 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008648/0.6279, allocations: 6.151 MB / 0.6795 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/0.628, allocations: 32.25 kB / 0.6796 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01281/0.6408, allocations: 5.459 MB / 0.6849 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.751e-05/0.6409, allocations: 48 kB / 0.6849 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/0.6411, allocations: 104 kB / 0.685 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/0.6412, allocations: 132.2 kB / 0.6852 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003562/0.6448, allocations: 0.9943 MB / 0.6861 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001698/0.6449, allocations: 199.6 kB / 0.6863 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/0.6482, allocations: 0.6398 MB / 0.6869 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000577/0.6488, allocations: 292 kB / 0.6872 GB, free: 14.5 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.003657/0.6524, allocations: 1.981 MB / 0.6892 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/0.653, allocations: 242.3 kB / 0.6894 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00078/0.6538, allocations: 288.8 kB / 0.6897 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.754e-05/0.6538, allocations: 16 kB / 0.6897 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.6538, allocations: 0 / 0.6897 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.6539, allocations: 3.984 kB / 0.6897 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.6671, allocations: 6.027 MB / 0.6956 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.6671, allocations: 8 kB / 0.6956 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000698/0.6678, allocations: 163.7 kB / 0.6957 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.989e-05/0.6678, allocations: 15.98 kB / 0.6957 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.796e-05/0.6679, allocations: 28 kB / 0.6958 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/0.6679, allocations: 12 kB / 0.6958 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/0.6679, allocations: 15.88 kB / 0.6958 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/0.671, allocations: 2.012 MB / 0.6978 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/0.6716, allocations: 242 kB / 0.698 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.6718, allocations: 31.98 kB / 0.698 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/0.6725, allocations: 43.95 kB / 0.6981 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.6726, allocations: 84.14 kB / 0.6981 GB, free: 3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.6727, allocations: 51.98 kB / 0.6982 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002754/0.6755, allocations: 1.674 MB / 0.6998 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6755, allocations: 4 kB / 0.6998 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0047/0.6802, allocations: 1.032 MB / 0.7008 GB, free: 232 kB / 0.5294 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.003811/0.684, allocations: 2.661 MB / 0.7034 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006342/0.6903, allocations: 3.146 MB / 0.7065 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.147e-05/0.6904, allocations: 4 kB / 0.7065 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.6915, allocations: 0.7304 MB / 0.7072 GB, free: 9.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.6934, allocations: 309.7 kB / 0.7075 GB, free: 9.281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2999/0.9933, allocations: 31.06 MB / 0.7379 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003014/0.9963, allocations: 2.547 MB / 0.7403 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002822/0.9991, allocations: 1.548 MB / 0.7419 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/1.001, allocations: 1.601 MB / 0.7434 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/1.001, allocations: 0 / 0.7434 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06634/1.067, allocations: 43.14 MB / 0.7856 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.96/20.03, allocations: 11.03 kB / 0.7856 GB, free: 109.5 MB / 0.5606 GB " [Timeout remaining time 640] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/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: 23.87198851595167]