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.001341/0.001341, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001499/0.001499, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2274/0.2274, allocations: 46.94 MB / 360.9 MB, free: 4.035 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.001939/0.001939, allocations: 67.88 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3107, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01255/0.3232, allocations: 10.05 MB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006558/0.3298, allocations: 2.921 MB / 0.5732 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.3312, allocations: 67.81 kB / 0.5733 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00335/0.3345, allocations: 1.541 MB / 0.5748 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.3386, allocations: 1.627 MB / 0.5764 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.339, allocations: 107.9 kB / 0.5765 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004657/0.3437, allocations: 3.312 MB / 0.5797 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002594/0.3463, allocations: 1.901 MB / 0.5816 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.3481, allocations: 1.168 MB / 0.5827 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003963/0.352, allocations: 2.599 MB / 0.5853 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006673/0.3527, allocations: 236 kB / 0.5855 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.354, allocations: 0.6241 MB / 0.5861 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.3556, allocations: 1.542 MB / 0.5876 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.3572, allocations: 1.272 MB / 0.5889 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006692/0.3639, allocations: 5.97 MB / 0.5947 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3639, allocations: 0 / 0.5947 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3639, allocations: 0 / 0.5947 GB, free: 1.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001121/0.3641, allocations: 0 / 0.5947 GB, free: 1.125 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.00777/0.3718, allocations: 4.029 MB / 0.5986 GB, free: 13.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3719, allocations: 12.03 kB / 0.5986 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00107/0.3729, allocations: 0.6877 MB / 0.5993 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009589/0.3825, allocations: 2.993 MB / 0.6022 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/0.3871, allocations: 1.787 MB / 0.604 GB, free: 7.508 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.3873, allocations: 192.7 kB / 0.6042 GB, free: 7.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006564/0.388, allocations: 235.8 kB / 0.6044 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/0.4033, allocations: 9.756 MB / 0.6139 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.993e-05/0.4034, allocations: 19.81 kB / 0.6139 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/0.4037, allocations: 111.8 kB / 0.614 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003695/0.4074, allocations: 2.365 MB / 0.6163 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.4239, allocations: 8.936 MB / 0.6251 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04503/0.4689, allocations: 28 MB / 0.6524 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006368/0.4753, allocations: 2.46 MB / 0.6548 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.4769, allocations: 1.017 MB / 0.6558 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.4879, allocations: 4.721 MB / 0.6604 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.4879, allocations: 39.22 kB / 0.6605 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.649e-06/0.4879, allocations: 0 / 0.6605 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008264/0.4962, allocations: 3.143 MB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/0.4963, allocations: 115.4 kB / 0.6636 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004259/0.5005, allocations: 2.904 MB / 0.6665 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.5007, allocations: 45.69 kB / 0.6665 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002159/0.5028, allocations: 2.845 MB / 0.6693 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006275/0.5034, allocations: 0.5388 MB / 0.6698 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.5047, allocations: 0.9369 MB / 0.6707 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5048, allocations: 305.1 kB / 0.671 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.5068, allocations: 1.403 MB / 0.6724 GB, free: 112 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004438/0.5113, allocations: 4.233 MB / 0.6765 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007792/0.5191, allocations: 6.151 MB / 0.6825 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.142e-05/0.5191, allocations: 28 kB / 0.6826 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009758/0.5289, allocations: 5.471 MB / 0.6879 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.784e-05/0.529, allocations: 48 kB / 0.688 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/0.5291, allocations: 100 kB / 0.6881 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/0.5293, allocations: 132 kB / 0.6882 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/0.5322, allocations: 0.991 MB / 0.6891 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001675/0.5324, allocations: 195.2 kB / 0.6893 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.5352, allocations: 0.6359 MB / 0.69 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004349/0.5356, allocations: 284 kB / 0.6902 GB, free: 11.02 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.003007/0.5386, allocations: 1.973 MB / 0.6921 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.539, allocations: 246.3 kB / 0.6924 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.5395, allocations: 288.8 kB / 0.6927 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/0.5395, allocations: 20 kB / 0.6927 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5395, allocations: 256 / 0.6927 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.5395, allocations: 3.984 kB / 0.6927 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.5503, allocations: 6.031 MB / 0.6986 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.5503, allocations: 8 kB / 0.6986 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.5509, allocations: 167.7 kB / 0.6987 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.777e-05/0.551, allocations: 12.19 kB / 0.6988 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-05/0.551, allocations: 24 kB / 0.6988 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.606e-05/0.551, allocations: 19.92 kB / 0.6988 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-05/0.5511, allocations: 15.88 kB / 0.6988 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.5536, allocations: 2.016 MB / 0.7008 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005489/0.5542, allocations: 246 kB / 0.701 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.5544, allocations: 24 kB / 0.701 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006475/0.555, allocations: 43.95 kB / 0.7011 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.5552, allocations: 84.2 kB / 0.7012 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.5553, allocations: 55.91 kB / 0.7012 GB, free: 15.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002523/0.5578, allocations: 1.674 MB / 0.7028 GB, free: 13.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5578, allocations: 7.875 kB / 0.7029 GB, free: 13.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004262/0.5621, allocations: 1.028 MB / 0.7039 GB, free: 12.74 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.00327/0.5653, allocations: 2.669 MB / 0.7065 GB, free: 9.941 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005525/0.5709, allocations: 3.13 MB / 0.7095 GB, free: 6.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.5709, allocations: 0.9375 kB / 0.7095 GB, free: 6.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.572, allocations: 0.745 MB / 0.7102 GB, free: 6.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.5739, allocations: 292.3 kB / 0.7105 GB, free: 5.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3208/0.8946, allocations: 31.05 MB / 0.7409 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003018/0.8976, allocations: 2.554 MB / 0.7433 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002746/0.9004, allocations: 1.551 MB / 0.7449 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/0.902, allocations: 1.594 MB / 0.7464 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.124e-06/0.902, allocations: 4 kB / 0.7464 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06967/0.9717, allocations: 43.26 MB / 0.7887 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.92, allocations: 18.31 kB / 0.7887 GB, free: 105.8 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.033578922011657]