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.001463/0.001463, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.001706/0.001706, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.497/1.497, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2683/0.2683, allocations: 46.91 MB / 357.7 MB, free: 10.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003507/0.003507, allocations: 83.88 kB / 0.4916 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1251, allocations: 66.04 MB / 0.5561 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0142/0.1393, allocations: 11.55 MB / 0.5674 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006989/0.1463, allocations: 3.076 MB / 0.5704 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.1479, allocations: 71.75 kB / 0.5705 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003501/0.1514, allocations: 1.588 MB / 0.572 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.1556, allocations: 1.611 MB / 0.5736 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.1562, allocations: 111.8 kB / 0.5737 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005112/0.1613, allocations: 3.304 MB / 0.5769 GB, free: 136 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00291/0.1642, allocations: 1.906 MB / 0.5788 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.1663, allocations: 1.168 MB / 0.5799 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.1703, allocations: 2.594 MB / 0.5825 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008481/0.1711, allocations: 235.9 kB / 0.5827 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.173, allocations: 0.7333 MB / 0.5834 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002058/0.175, allocations: 1.527 MB / 0.5849 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.1776, allocations: 1.812 MB / 0.5867 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008085/0.1857, allocations: 5.947 MB / 0.5925 GB, free: 128 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1857, allocations: 0 / 0.5925 GB, free: 128 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1857, allocations: 0 / 0.5925 GB, free: 128 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001992/0.1859, allocations: 0 / 0.5925 GB, free: 128 kB / 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.2648/0.4507, allocations: 4.099 MB / 0.5965 GB, free: 33.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.4507, allocations: 9.375 kB / 0.5965 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001968/0.4509, allocations: 96.66 kB / 0.5966 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00181/0.4527, allocations: 0.6937 MB / 0.5973 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.464, allocations: 2.989 MB / 0.6002 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005111/0.4691, allocations: 1.844 MB / 0.602 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003335/0.4694, allocations: 182.5 kB / 0.6022 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/0.471, allocations: 236.7 kB / 0.6024 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.4905, allocations: 9.759 MB / 0.6119 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.531e-05/0.4906, allocations: 18.19 kB / 0.6119 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007305/0.4913, allocations: 113.4 kB / 0.612 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003863/0.4952, allocations: 2.367 MB / 0.6144 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01692/0.5121, allocations: 8.947 MB / 0.6231 GB, free: 20.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0429/0.555, allocations: 29.57 MB / 0.652 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007335/0.5623, allocations: 3.364 MB / 0.6553 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.5641, allocations: 1.019 MB / 0.6563 GB, free: 2.078 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/0.5763, allocations: 6.47 MB / 0.6626 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.5763, allocations: 51.16 kB / 0.6626 GB, free: 11.13 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 4.899e-06/0.5763, allocations: 0 / 0.6626 GB, free: 11.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=135): time 0.008658/0.585, allocations: 3.139 MB / 0.6657 GB, free: 7.984 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/0.5851, allocations: 111.5 kB / 0.6658 GB, free: 7.852 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004747/0.5898, allocations: 2.742 MB / 0.6685 GB, free: 5.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.59, allocations: 41.69 kB / 0.6685 GB, free: 5.043 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002539/0.5926, allocations: 2.849 MB / 0.6713 GB, free: 2.164 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007926/0.5934, allocations: 0.5388 MB / 0.6718 GB, free: 1.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001528/0.5949, allocations: 0.9369 MB / 0.6727 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.595, allocations: 301.1 kB / 0.673 GB, free: 384 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/0.5974, allocations: 1.407 MB / 0.6744 GB, free: 14.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005199/0.6026, allocations: 4.233 MB / 0.6785 GB, free: 9.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008131/0.6108, allocations: 6.149 MB / 0.6845 GB, free: 1.758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.764e-05/0.6109, allocations: 32 kB / 0.6846 GB, free: 1.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.0115/0.6224, allocations: 5.464 MB / 0.6899 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.684e-05/0.6224, allocations: 49 kB / 0.6899 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.6226, allocations: 103.9 kB / 0.69 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.6228, allocations: 136 kB / 0.6902 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/0.626, allocations: 0.9903 MB / 0.6911 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001994/0.6262, allocations: 195.2 kB / 0.6913 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/0.6295, allocations: 0.632 MB / 0.6919 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006736/0.6302, allocations: 288 kB / 0.6922 GB, free: 9.875 MB / 0.4981 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.003571/0.6338, allocations: 1.977 MB / 0.6942 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004859/0.6343, allocations: 238.5 kB / 0.6944 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.635, allocations: 300.7 kB / 0.6947 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/0.635, allocations: 16 kB / 0.6947 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-05/0.635, allocations: 4 kB / 0.6947 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.635, allocations: 3.984 kB / 0.6947 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.6465, allocations: 6.192 MB / 0.7007 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.6465, allocations: 8 kB / 0.7007 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.6472, allocations: 163.7 kB / 0.7009 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/0.6472, allocations: 12.84 kB / 0.7009 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-05/0.6473, allocations: 28 kB / 0.7009 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.609e-05/0.6473, allocations: 15.98 kB / 0.701 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/0.6473, allocations: 16.34 kB / 0.701 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.6501, allocations: 2.011 MB / 0.7029 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000676/0.6508, allocations: 323.1 kB / 0.7032 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.6511, allocations: 32.25 kB / 0.7033 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007077/0.6518, allocations: 47.95 kB / 0.7033 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.6519, allocations: 84.23 kB / 0.7034 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/0.652, allocations: 55.92 kB / 0.7034 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002912/0.655, allocations: 1.666 MB / 0.7051 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.655, allocations: 0 / 0.7051 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004145/0.6591, allocations: 1.032 MB / 0.7061 GB, free: 11.34 MB / 0.5137 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.003514/0.6626, allocations: 2.661 MB / 0.7087 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005197/0.6678, allocations: 3.145 MB / 0.7118 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.6678, allocations: 4 kB / 0.7118 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.6689, allocations: 0.7326 MB / 0.7125 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.6706, allocations: 300.7 kB / 0.7128 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05066/0.7212, allocations: 31.04 MB / 0.7431 GB, free: 1.324 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005233/0.7265, allocations: 3.1 MB / 0.7461 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003791/0.7303, allocations: 1.552 MB / 0.7476 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002892/0.7332, allocations: 1.593 MB / 0.7492 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.7332, allocations: 0 / 0.7492 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08101/0.8142, allocations: 41.77 MB / 0.79 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.13, allocations: 12.05 kB / 0.79 GB, free: 1.438 MB / 0.5919 GB " [Timeout remaining time 644] (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: 19.82616241899086]