Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001817/0.001817, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002239/0.002239, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2407/0.2407, allocations: 46.94 MB / 360.9 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 71.89 kB / 0.4962 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3336, allocations: 66.03 MB / 0.5606 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01399/0.3476, allocations: 11.58 MB / 0.5719 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006876/0.3545, allocations: 3.076 MB / 0.575 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.3562, allocations: 71.75 kB / 0.575 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003875/0.3601, allocations: 1.604 MB / 0.5766 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004259/0.3643, allocations: 1.619 MB / 0.5782 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006533/0.365, allocations: 115.8 kB / 0.5783 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004946/0.3699, allocations: 3.302 MB / 0.5815 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/0.3726, allocations: 1.909 MB / 0.5834 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.3745, allocations: 1.16 MB / 0.5845 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004411/0.379, allocations: 2.602 MB / 0.587 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008544/0.3798, allocations: 231.9 kB / 0.5873 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.3815, allocations: 0.7255 MB / 0.588 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001851/0.3834, allocations: 1.542 MB / 0.5895 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002465/0.3858, allocations: 1.812 MB / 0.5912 GB, free: 4.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007336/0.3932, allocations: 5.947 MB / 0.5971 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.3932, allocations: 0 / 0.5971 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3932, allocations: 0 / 0.5971 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002036/0.3934, allocations: 3.938 kB / 0.5971 GB, free: 15.02 MB / 446.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.00909/0.4025, allocations: 4.025 MB / 0.601 GB, free: 10.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4025, allocations: 8.031 kB / 0.601 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001553/0.4041, allocations: 0.6916 MB / 0.6017 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.4144, allocations: 2.993 MB / 0.6046 GB, free: 7.223 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004727/0.4191, allocations: 1.775 MB / 0.6063 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.4193, allocations: 184.7 kB / 0.6065 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009529/0.4203, allocations: 239.8 kB / 0.6067 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/0.4388, allocations: 9.76 MB / 0.6163 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.121e-05/0.4389, allocations: 19.81 kB / 0.6163 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006889/0.4396, allocations: 111.8 kB / 0.6164 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004152/0.4437, allocations: 2.365 MB / 0.6187 GB, free: 8.367 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/0.4634, allocations: 8.951 MB / 0.6274 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05006/0.5135, allocations: 29.47 MB / 0.6562 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006465/0.5199, allocations: 2.455 MB / 0.6586 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.5217, allocations: 1.026 MB / 0.6596 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.5327, allocations: 4.915 MB / 0.6644 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.5328, allocations: 43.22 kB / 0.6645 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.578e-06/0.5328, allocations: 4 kB / 0.6645 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008485/0.5413, allocations: 3.147 MB / 0.6675 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5414, allocations: 111.5 kB / 0.6676 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00523/0.5466, allocations: 2.738 MB / 0.6703 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/0.5468, allocations: 41.7 kB / 0.6704 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002608/0.5495, allocations: 2.849 MB / 0.6731 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007769/0.5502, allocations: 0.5427 MB / 0.6737 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001592/0.5518, allocations: 0.9369 MB / 0.6746 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.552, allocations: 305.1 kB / 0.6749 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.5543, allocations: 1.403 MB / 0.6762 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005413/0.5597, allocations: 4.229 MB / 0.6804 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008427/0.5681, allocations: 6.151 MB / 0.6864 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.553e-05/0.5682, allocations: 28 kB / 0.6864 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01063/0.5788, allocations: 5.459 MB / 0.6917 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/0.5789, allocations: 48 kB / 0.6918 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/0.5791, allocations: 100 kB / 0.6919 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.5792, allocations: 132 kB / 0.692 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/0.5825, allocations: 0.9988 MB / 0.693 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001858/0.5827, allocations: 203.2 kB / 0.6932 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/0.5858, allocations: 0.632 MB / 0.6938 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006041/0.5864, allocations: 284 kB / 0.6941 GB, free: 7.402 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.003616/0.5901, allocations: 1.97 MB / 0.696 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/0.5905, allocations: 242.3 kB / 0.6962 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007108/0.5912, allocations: 288.8 kB / 0.6965 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.443e-05/0.5913, allocations: 27.86 kB / 0.6965 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.5913, allocations: 0 / 0.6965 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.5913, allocations: 7.984 kB / 0.6965 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.6033, allocations: 6.168 MB / 0.7026 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.6033, allocations: 8 kB / 0.7026 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007508/0.6041, allocations: 163.7 kB / 0.7027 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/0.6041, allocations: 12 kB / 0.7027 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-05/0.6042, allocations: 28 kB / 0.7028 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/0.6042, allocations: 19.92 kB / 0.7028 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/0.6042, allocations: 12.19 kB / 0.7028 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.607, allocations: 2.007 MB / 0.7047 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/0.6076, allocations: 246 kB / 0.705 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.608, allocations: 31.98 kB / 0.705 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007253/0.6087, allocations: 47.95 kB / 0.7051 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.6088, allocations: 84.14 kB / 0.7051 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.684e-05/0.6089, allocations: 51.98 kB / 0.7052 GB, free: 11.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003123/0.6121, allocations: 1.67 MB / 0.7068 GB, free: 10.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.51e-07/0.6121, allocations: 0 / 0.7068 GB, free: 10.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004447/0.6165, allocations: 1.039 MB / 0.7078 GB, free: 8.98 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.003564/0.6201, allocations: 2.658 MB / 0.7104 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005682/0.6258, allocations: 3.138 MB / 0.7135 GB, free: 3.078 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.6258, allocations: 3.938 kB / 0.7135 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.6269, allocations: 0.7435 MB / 0.7142 GB, free: 2.336 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.6288, allocations: 300.8 kB / 0.7145 GB, free: 2.051 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3443/0.9731, allocations: 31.05 MB / 0.7448 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003707/0.9768, allocations: 3.096 MB / 0.7479 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003068/0.9799, allocations: 1.552 MB / 0.7494 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/0.9819, allocations: 1.601 MB / 0.7509 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.9819, allocations: 0 / 0.7509 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08305/1.065, allocations: 45.57 MB / 0.7954 GB, free: 99.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.87/19.93, allocations: 13.53 kB / 0.7954 GB, free: 99.29 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.25599576206878]