Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 112.7 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001878, allocations: 205.9 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.93 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 83.88 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3307, allocations: 66.08 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01419/0.3449, allocations: 11.58 MB / 0.572 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007561/0.3524, allocations: 3.084 MB / 0.575 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.3545, allocations: 71.69 kB / 0.5751 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003598/0.3581, allocations: 1.6 MB / 0.5767 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.3623, allocations: 1.619 MB / 0.5782 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.3628, allocations: 115.8 kB / 0.5784 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005017/0.3678, allocations: 3.305 MB / 0.5816 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00313/0.371, allocations: 1.901 MB / 0.5834 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.3731, allocations: 1.164 MB / 0.5846 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004051/0.3771, allocations: 2.61 MB / 0.5871 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008636/0.378, allocations: 228 kB / 0.5873 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.3798, allocations: 0.7333 MB / 0.5881 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002146/0.382, allocations: 1.534 MB / 0.5896 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003267/0.3852, allocations: 1.812 MB / 0.5913 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00828/0.3935, allocations: 5.947 MB / 0.5971 GB, free: 14.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3935, allocations: 4 kB / 0.5971 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3935, allocations: 0 / 0.5971 GB, free: 14.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002144/0.3937, allocations: 4 kB / 0.5971 GB, free: 14.82 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.009615/0.4034, allocations: 4.025 MB / 0.6011 GB, free: 10.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.4034, allocations: 12.03 kB / 0.6011 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001725/0.4051, allocations: 0.6877 MB / 0.6018 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.4153, allocations: 2.985 MB / 0.6047 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004951/0.4202, allocations: 1.783 MB / 0.6064 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.4204, allocations: 196.7 kB / 0.6066 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/0.4215, allocations: 235.8 kB / 0.6068 GB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/0.4432, allocations: 9.752 MB / 0.6164 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001335/0.4433, allocations: 19.88 kB / 0.6164 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/0.4445, allocations: 111.8 kB / 0.6165 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006529/0.451, allocations: 2.361 MB / 0.6188 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/0.4713, allocations: 8.953 MB / 0.6275 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04769/0.519, allocations: 29.46 MB / 0.6563 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006571/0.5256, allocations: 2.483 MB / 0.6587 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.5274, allocations: 1.013 MB / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01235/0.5397, allocations: 4.911 MB / 0.6645 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/0.5398, allocations: 51.16 kB / 0.6646 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 6.322e-06/0.5398, allocations: 0 / 0.6646 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.009024/0.5488, allocations: 3.139 MB / 0.6676 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.5489, allocations: 119.4 kB / 0.6677 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006049/0.555, allocations: 2.734 MB / 0.6704 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002476/0.5552, allocations: 41.7 kB / 0.6704 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002745/0.558, allocations: 2.841 MB / 0.6732 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008536/0.5588, allocations: 0.5544 MB / 0.6738 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002089/0.5609, allocations: 0.933 MB / 0.6747 GB, free: 14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.5611, allocations: 301.1 kB / 0.675 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002554/0.5636, allocations: 1.406 MB / 0.6763 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005177/0.5688, allocations: 4.233 MB / 0.6805 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008205/0.577, allocations: 6.143 MB / 0.6865 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/0.5771, allocations: 28 kB / 0.6865 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01064/0.5878, allocations: 5.475 MB / 0.6918 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.5879, allocations: 48 kB / 0.6919 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/0.5881, allocations: 100 kB / 0.692 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.5882, allocations: 128 kB / 0.6921 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/0.5916, allocations: 0.9981 MB / 0.6931 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002431/0.5919, allocations: 195.8 kB / 0.6933 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00345/0.5953, allocations: 0.6281 MB / 0.6939 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007082/0.596, allocations: 292 kB / 0.6942 GB, free: 7.211 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.004062/0.6001, allocations: 1.974 MB / 0.6961 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005589/0.6006, allocations: 246.3 kB / 0.6963 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008292/0.6015, allocations: 288.8 kB / 0.6966 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/0.6015, allocations: 16 kB / 0.6966 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.6015, allocations: 4 kB / 0.6966 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.6015, allocations: 3.984 kB / 0.6966 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.6164, allocations: 6.16 MB / 0.7026 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.497e-05/0.6164, allocations: 12.03 kB / 0.7026 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/0.6172, allocations: 167.7 kB / 0.7028 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.48e-05/0.6172, allocations: 15.98 kB / 0.7028 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.6173, allocations: 24.25 kB / 0.7028 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.458e-05/0.6173, allocations: 19.94 kB / 0.7029 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.6174, allocations: 11.94 kB / 0.7029 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002955/0.6203, allocations: 2.015 MB / 0.7048 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/0.621, allocations: 246 kB / 0.7051 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004627/0.6215, allocations: 31.98 kB / 0.7051 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008666/0.6224, allocations: 39.95 kB / 0.7051 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.6225, allocations: 88.19 kB / 0.7052 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.874e-05/0.6226, allocations: 44 kB / 0.7053 GB, free: 11.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003485/0.6261, allocations: 1.674 MB / 0.7069 GB, free: 9.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6261, allocations: 7.938 kB / 0.7069 GB, free: 9.832 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004894/0.631, allocations: 1.032 MB / 0.7079 GB, free: 8.797 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.003651/0.6347, allocations: 2.665 MB / 0.7105 GB, free: 5.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005696/0.6404, allocations: 3.142 MB / 0.7136 GB, free: 2.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.6404, allocations: 0 / 0.7136 GB, free: 2.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.6415, allocations: 0.7308 MB / 0.7143 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.6437, allocations: 304 kB / 0.7146 GB, free: 1.863 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3196/0.9632, allocations: 31.05 MB / 0.7449 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003521/0.9667, allocations: 3.1 MB / 0.7479 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002852/0.9696, allocations: 1.553 MB / 0.7495 GB, free: 146 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/0.9714, allocations: 1.593 MB / 0.751 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.614e-06/0.9714, allocations: 4 kB / 0.751 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07651/1.048, allocations: 45.56 MB / 0.7955 GB, free: 99.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.28/20.33, allocations: 3.938 kB / 0.7955 GB, free: 99.05 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.6466438958887]