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.001519/0.001519, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001852/0.001852, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.568/1.568, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.237/0.237, allocations: 44.9 MB / 355.8 MB, free: 12.32 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.00211/0.00211, allocations: 67.89 kB / 0.4885 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.143, allocations: 65.42 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01427/0.1573, allocations: 11.55 MB / 0.5637 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007398/0.1647, allocations: 3.08 MB / 0.5667 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.167, allocations: 71.75 kB / 0.5668 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003821/0.1708, allocations: 1.6 MB / 0.5683 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004451/0.1752, allocations: 1.603 MB / 0.5699 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.1759, allocations: 115.8 kB / 0.57 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00529/0.1812, allocations: 3.303 MB / 0.5732 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003286/0.1845, allocations: 1.91 MB / 0.5751 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/0.187, allocations: 1.168 MB / 0.5762 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004433/0.1914, allocations: 2.587 MB / 0.5788 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.1924, allocations: 232 kB / 0.579 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.1946, allocations: 0.7255 MB / 0.5797 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002332/0.1969, allocations: 1.538 MB / 0.5812 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00342/0.2003, allocations: 1.812 MB / 0.583 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009212/0.2096, allocations: 5.943 MB / 0.5888 GB, free: 4.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/0.2096, allocations: 4 kB / 0.5888 GB, free: 4.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2096, allocations: 0 / 0.5888 GB, free: 4.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002672/0.2098, allocations: 4 kB / 0.5888 GB, free: 4.734 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.01129/0.2211, allocations: 4.097 MB / 0.5928 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.2212, allocations: 12.03 kB / 0.5928 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001954/0.2214, allocations: 88.92 kB / 0.5929 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2841/0.5055, allocations: 0.6877 MB / 0.5936 GB, free: 36.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.5169, allocations: 2.989 MB / 0.5965 GB, free: 36.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004831/0.5217, allocations: 1.844 MB / 0.5983 GB, free: 35.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.522, allocations: 181.5 kB / 0.5984 GB, free: 35.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.5234, allocations: 242.2 kB / 0.5987 GB, free: 35.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/0.5443, allocations: 9.756 MB / 0.6082 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.5445, allocations: 19.06 kB / 0.6082 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009751/0.5454, allocations: 116 kB / 0.6083 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004745/0.5502, allocations: 2.363 MB / 0.6106 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0191/0.5693, allocations: 8.953 MB / 0.6194 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04034/0.6096, allocations: 29.56 MB / 0.6483 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007143/0.6167, allocations: 3.367 MB / 0.6515 GB, free: 9.195 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.6186, allocations: 1.024 MB / 0.6525 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01212/0.6308, allocations: 6.476 MB / 0.6589 GB, free: 1.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.6308, allocations: 47.16 kB / 0.6589 GB, free: 1.285 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 4.418e-06/0.6308, allocations: 0 / 0.6589 GB, free: 1.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=135): time 0.008897/0.6397, allocations: 3.139 MB / 0.662 GB, free: 14.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.6398, allocations: 111.5 kB / 0.6621 GB, free: 14.01 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005051/0.6449, allocations: 2.746 MB / 0.6648 GB, free: 11.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.6451, allocations: 41.69 kB / 0.6648 GB, free: 11.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002837/0.6479, allocations: 2.845 MB / 0.6676 GB, free: 8.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009858/0.6489, allocations: 0.5389 MB / 0.6681 GB, free: 7.777 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/0.6506, allocations: 0.9369 MB / 0.669 GB, free: 6.828 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6507, allocations: 301.1 kB / 0.6693 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/0.653, allocations: 1.399 MB / 0.6707 GB, free: 5.125 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005041/0.6581, allocations: 4.233 MB / 0.6748 GB, free: 15.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008022/0.6661, allocations: 6.151 MB / 0.6808 GB, free: 7.922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.6662, allocations: 32 kB / 0.6808 GB, free: 7.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01142/0.6776, allocations: 5.453 MB / 0.6862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/0.6777, allocations: 50.19 kB / 0.6862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/0.6779, allocations: 103.9 kB / 0.6863 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.678, allocations: 136.1 kB / 0.6865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003483/0.6815, allocations: 0.9942 MB / 0.6874 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002281/0.6818, allocations: 199.2 kB / 0.6876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/0.6856, allocations: 0.6397 MB / 0.6882 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007696/0.6864, allocations: 284.2 kB / 0.6885 GB, free: 36 kB / 494.1 MB 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.003878/0.6903, allocations: 1.98 MB / 0.6904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/0.6908, allocations: 242.4 kB / 0.6907 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008494/0.6917, allocations: 296.7 kB / 0.691 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.841e-05/0.6917, allocations: 16 kB / 0.691 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.6917, allocations: 0 / 0.691 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.6917, allocations: 7.984 kB / 0.691 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.7043, allocations: 6.196 MB / 0.697 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/0.7043, allocations: 8 kB / 0.697 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/0.705, allocations: 162.5 kB / 0.6972 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.766e-05/0.705, allocations: 12.19 kB / 0.6972 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.12e-05/0.7051, allocations: 31.94 kB / 0.6972 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.808e-05/0.7051, allocations: 15.98 kB / 0.6972 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/0.7052, allocations: 12.47 kB / 0.6973 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.708, allocations: 2.019 MB / 0.6992 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006402/0.7086, allocations: 323.1 kB / 0.6995 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.7089, allocations: 24 kB / 0.6996 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007566/0.7097, allocations: 43.95 kB / 0.6996 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.7099, allocations: 84.23 kB / 0.6997 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.71, allocations: 51.98 kB / 0.6997 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003063/0.713, allocations: 1.67 MB / 0.7014 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.713, allocations: 0 / 0.7014 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004758/0.7178, allocations: 1.035 MB / 0.7024 GB, free: 1.496 MB / 0.4981 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.003802/0.7216, allocations: 2.661 MB / 0.705 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006097/0.7277, allocations: 3.141 MB / 0.708 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.7277, allocations: 1.812 kB / 0.708 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.7289, allocations: 0.7425 MB / 0.7088 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.7308, allocations: 305.9 kB / 0.7091 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05332/0.7841, allocations: 31.04 MB / 0.7394 GB, free: 7.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005895/0.79, allocations: 3.095 MB / 0.7424 GB, free: 4.359 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003971/0.794, allocations: 1.552 MB / 0.7439 GB, free: 2.801 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003257/0.7972, allocations: 1.601 MB / 0.7455 GB, free: 1.199 MB / 0.545 GB Notification: Performance of SimCode: time 2.585e-06/0.7972, allocations: 0 / 0.7455 GB, free: 1.199 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08484/0.8821, allocations: 41.78 MB / 0.7863 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.59, allocations: 11.7 kB / 0.7863 GB, free: 7.641 MB / 0.5919 GB " [Timeout remaining time 643] (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: 20.401515747013036]