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.001536/0.001536, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001466/0.001466, allocations: 210.7 kB / 23.73 MB, free: 4.387 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2235/0.2235, allocations: 44.94 MB / 358.8 MB, free: 6.043 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.002125/0.002125, allocations: 67.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3666, allocations: 65.47 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01406/0.3807, allocations: 10.07 MB / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007293/0.388, allocations: 2.92 MB / 0.5696 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.3895, allocations: 71.75 kB / 0.5697 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003245/0.3928, allocations: 1.538 MB / 0.5712 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00382/0.3966, allocations: 1.623 MB / 0.5728 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.397, allocations: 111.9 kB / 0.5729 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004247/0.4012, allocations: 3.302 MB / 0.5761 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.4036, allocations: 1.901 MB / 0.578 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.4053, allocations: 1.164 MB / 0.5791 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003573/0.4088, allocations: 2.524 MB / 0.5816 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006135/0.4094, allocations: 232 kB / 0.5818 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.4108, allocations: 0.6162 MB / 0.5824 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001706/0.4125, allocations: 1.534 MB / 0.5839 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.4142, allocations: 1.272 MB / 0.5851 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007435/0.4217, allocations: 5.97 MB / 0.591 GB, free: 4.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/0.4217, allocations: 3.984 kB / 0.591 GB, free: 4.547 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4217, allocations: 0 / 0.591 GB, free: 4.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001525/0.4218, allocations: 0 / 0.591 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.008721/0.4305, allocations: 4.029 MB / 0.5949 GB, free: 472 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/0.4306, allocations: 12.03 kB / 0.5949 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001352/0.432, allocations: 0.6916 MB / 0.5956 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.4423, allocations: 2.989 MB / 0.5985 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005125/0.4474, allocations: 1.787 MB / 0.6003 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.4476, allocations: 188.7 kB / 0.6004 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007595/0.4484, allocations: 235.8 kB / 0.6007 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/0.4653, allocations: 9.756 MB / 0.6102 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-05/0.4653, allocations: 19.81 kB / 0.6102 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003699/0.4657, allocations: 115.8 kB / 0.6103 GB, free: 264 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003934/0.4696, allocations: 2.365 MB / 0.6126 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/0.4886, allocations: 8.936 MB / 0.6214 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04804/0.5366, allocations: 28 MB / 0.6487 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006628/0.5433, allocations: 2.46 MB / 0.6511 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.545, allocations: 1.01 MB / 0.6521 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.5556, allocations: 4.708 MB / 0.6567 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.5557, allocations: 51.16 kB / 0.6567 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.119e-06/0.5557, allocations: 0 / 0.6567 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008104/0.5638, allocations: 3.147 MB / 0.6598 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.5639, allocations: 111.5 kB / 0.6599 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004494/0.5684, allocations: 2.912 MB / 0.6628 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.5685, allocations: 37.7 kB / 0.6628 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002337/0.5709, allocations: 2.845 MB / 0.6656 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000724/0.5716, allocations: 0.5428 MB / 0.6661 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/0.573, allocations: 0.9369 MB / 0.667 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5732, allocations: 305.1 kB / 0.6673 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.5754, allocations: 1.403 MB / 0.6687 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/0.5802, allocations: 4.229 MB / 0.6728 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007872/0.5881, allocations: 6.147 MB / 0.6788 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/0.5882, allocations: 28 kB / 0.6788 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01033/0.5986, allocations: 5.471 MB / 0.6842 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.337e-05/0.5986, allocations: 48 kB / 0.6842 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/0.5988, allocations: 100 kB / 0.6843 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.5989, allocations: 128 kB / 0.6845 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/0.602, allocations: 0.9951 MB / 0.6854 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001999/0.6022, allocations: 191.3 kB / 0.6856 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/0.6055, allocations: 0.6398 MB / 0.6862 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005244/0.6061, allocations: 296 kB / 0.6865 GB, free: 14.44 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.00336/0.6094, allocations: 1.973 MB / 0.6884 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004351/0.6099, allocations: 242.3 kB / 0.6887 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/0.6104, allocations: 292.7 kB / 0.689 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/0.6104, allocations: 16 kB / 0.689 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.6104, allocations: 4 kB / 0.689 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.6105, allocations: 11.86 kB / 0.689 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/0.6213, allocations: 6.023 MB / 0.6949 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.6213, allocations: 8 kB / 0.6949 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/0.622, allocations: 163.7 kB / 0.695 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.622, allocations: 8 kB / 0.695 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/0.6221, allocations: 35.98 kB / 0.6951 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.067e-05/0.6221, allocations: 15.92 kB / 0.6951 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.6221, allocations: 15.94 kB / 0.6951 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.6248, allocations: 2.008 MB / 0.6971 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/0.6253, allocations: 246 kB / 0.6973 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.6256, allocations: 24 kB / 0.6973 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/0.6262, allocations: 51.94 kB / 0.6974 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.6264, allocations: 84.33 kB / 0.6974 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.6265, allocations: 51.98 kB / 0.6975 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002691/0.6292, allocations: 1.67 MB / 0.6991 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6292, allocations: 0 / 0.6991 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003853/0.633, allocations: 1.036 MB / 0.7001 GB, free: 168 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.003315/0.6363, allocations: 2.669 MB / 0.7027 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005589/0.6419, allocations: 3.126 MB / 0.7058 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.6419, allocations: 0.875 kB / 0.7058 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.643, allocations: 0.7451 MB / 0.7065 GB, free: 9.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.6447, allocations: 309 kB / 0.7068 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3001/0.9448, allocations: 31.05 MB / 0.7371 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002909/0.9477, allocations: 2.549 MB / 0.7396 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002779/0.9505, allocations: 1.552 MB / 0.7411 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/0.9522, allocations: 1.598 MB / 0.7427 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.9522, allocations: 0 / 0.7427 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07241/1.025, allocations: 41.12 MB / 0.7829 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.06, allocations: 10.12 kB / 0.7829 GB, free: 111.3 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.19430545764044]