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.002092/0.002092, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002574/0.002574, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2327/0.2327, allocations: 44.91 MB / 358.8 MB, free: 6.273 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="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: 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.002178/0.002178, allocations: 67.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3588, allocations: 65.47 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01522/0.374, allocations: 11.58 MB / 0.5683 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008181/0.3822, allocations: 3.08 MB / 0.5713 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/0.3848, allocations: 67.81 kB / 0.5714 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004146/0.3889, allocations: 1.608 MB / 0.573 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.3936, allocations: 1.623 MB / 0.5745 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.3943, allocations: 111.9 kB / 0.5747 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005469/0.3998, allocations: 3.309 MB / 0.5779 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003386/0.4031, allocations: 1.905 MB / 0.5797 GB, free: 372 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.4058, allocations: 1.164 MB / 0.5809 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004411/0.4102, allocations: 2.606 MB / 0.5834 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.4114, allocations: 232 kB / 0.5836 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.4138, allocations: 0.7293 MB / 0.5844 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002619/0.4164, allocations: 1.542 MB / 0.5859 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004097/0.4205, allocations: 1.812 MB / 0.5876 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.4307, allocations: 5.943 MB / 0.5934 GB, free: 2.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4307, allocations: 0 / 0.5934 GB, free: 2.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4307, allocations: 3.938 kB / 0.5934 GB, free: 2.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002407/0.4309, allocations: 0 / 0.5934 GB, free: 2.281 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.009017/0.44, allocations: 4.022 MB / 0.5974 GB, free: 14.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.44, allocations: 11.97 kB / 0.5974 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008975/0.4409, allocations: 0.6916 MB / 0.5981 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00983/0.4507, allocations: 2.985 MB / 0.601 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004533/0.4553, allocations: 1.779 MB / 0.6027 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.4555, allocations: 188.7 kB / 0.6029 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008278/0.4563, allocations: 235.8 kB / 0.6031 GB, free: 8.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.4719, allocations: 9.76 MB / 0.6126 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.488e-05/0.472, allocations: 19.81 kB / 0.6127 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003406/0.4723, allocations: 111.8 kB / 0.6128 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003919/0.4762, allocations: 2.365 MB / 0.6151 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01775/0.494, allocations: 8.946 MB / 0.6238 GB, free: 2.676 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04506/0.5391, allocations: 29.47 MB / 0.6526 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006035/0.5451, allocations: 2.475 MB / 0.655 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.5466, allocations: 1.009 MB / 0.656 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009996/0.5566, allocations: 4.915 MB / 0.6608 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.5567, allocations: 47.16 kB / 0.6608 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.457e-06/0.5567, allocations: 0 / 0.6608 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.007619/0.5643, allocations: 3.135 MB / 0.6639 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.5644, allocations: 123.4 kB / 0.664 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004097/0.5685, allocations: 2.738 MB / 0.6667 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.244e-05/0.5686, allocations: 41.69 kB / 0.6667 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002201/0.5708, allocations: 2.845 MB / 0.6695 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005796/0.5713, allocations: 0.5428 MB / 0.67 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.5726, allocations: 0.933 MB / 0.671 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5727, allocations: 301.1 kB / 0.6712 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.5749, allocations: 1.403 MB / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005049/0.58, allocations: 4.229 MB / 0.6767 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008912/0.5889, allocations: 6.155 MB / 0.6827 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/0.589, allocations: 28 kB / 0.6828 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01021/0.5992, allocations: 5.46 MB / 0.6881 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-05/0.5993, allocations: 52.17 kB / 0.6882 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/0.5995, allocations: 104 kB / 0.6883 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.5996, allocations: 135.8 kB / 0.6884 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/0.6026, allocations: 0.9981 MB / 0.6894 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000185/0.6028, allocations: 195.2 kB / 0.6895 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004947/0.6078, allocations: 0.6322 MB / 0.6902 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008254/0.6086, allocations: 284 kB / 0.6904 GB, free: 10.68 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.005638/0.6142, allocations: 1.981 MB / 0.6924 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008139/0.615, allocations: 246.3 kB / 0.6926 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.6161, allocations: 288.8 kB / 0.6929 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.657e-05/0.6161, allocations: 16 kB / 0.6929 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/0.6161, allocations: 3.984 kB / 0.6929 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.466e-05/0.6162, allocations: 7.984 kB / 0.6929 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/0.6351, allocations: 6.16 MB / 0.6989 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.6351, allocations: 8 kB / 0.6989 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.6361, allocations: 167.7 kB / 0.6991 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-05/0.6361, allocations: 12 kB / 0.6991 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.6363, allocations: 32.58 kB / 0.6991 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-05/0.6363, allocations: 15.98 kB / 0.6991 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.679e-05/0.6363, allocations: 15.94 kB / 0.6992 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.6397, allocations: 2.015 MB / 0.7011 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.6403, allocations: 246 kB / 0.7014 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.6405, allocations: 27.98 kB / 0.7014 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000633/0.6411, allocations: 39.97 kB / 0.7014 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.6413, allocations: 92.12 kB / 0.7015 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.96e-05/0.6414, allocations: 47.98 kB / 0.7016 GB, free: 14.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00281/0.6442, allocations: 1.674 MB / 0.7032 GB, free: 13.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.6442, allocations: 0 / 0.7032 GB, free: 13.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004456/0.6487, allocations: 1.028 MB / 0.7042 GB, free: 12.25 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.003358/0.652, allocations: 2.669 MB / 0.7068 GB, free: 9.453 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005437/0.6575, allocations: 3.138 MB / 0.7099 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.6575, allocations: 0 / 0.7099 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.6585, allocations: 0.742 MB / 0.7106 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.66, allocations: 299.7 kB / 0.7109 GB, free: 5.312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3293/0.9893, allocations: 31.05 MB / 0.7412 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/0.9919, allocations: 3.092 MB / 0.7442 GB, free: 152 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002813/0.9947, allocations: 1.555 MB / 0.7457 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.9962, allocations: 1.602 MB / 0.7473 GB, free: 150 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/0.9962, allocations: 0 / 0.7473 GB, free: 150 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08297/1.079, allocations: 45.57 MB / 0.7918 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.99/20.07, allocations: 11.75 kB / 0.7918 GB, free: 105.6 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.39409420103766]