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.001405/0.001405, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001563/0.001563, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.544/1.544, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2461/0.2461, allocations: 46.9 MB / 357.4 MB, free: 10.47 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.002353/0.002353, allocations: 79.88 kB / 0.4912 GB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1295, allocations: 66 MB / 0.5557 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01515/0.1447, allocations: 11.54 MB / 0.567 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007805/0.1525, allocations: 3.08 MB / 0.57 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.1544, allocations: 63.88 kB / 0.57 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004046/0.1585, allocations: 1.592 MB / 0.5716 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004727/0.1632, allocations: 1.603 MB / 0.5731 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000685/0.1639, allocations: 119.8 kB / 0.5733 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005496/0.1694, allocations: 3.305 MB / 0.5765 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003633/0.173, allocations: 1.902 MB / 0.5783 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.1755, allocations: 1.156 MB / 0.5795 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004821/0.1803, allocations: 2.594 MB / 0.582 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.1815, allocations: 228 kB / 0.5822 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.1837, allocations: 0.7216 MB / 0.5829 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.1862, allocations: 1.534 MB / 0.5844 GB, free: 8.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003673/0.1899, allocations: 1.812 MB / 0.5862 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008934/0.1988, allocations: 5.947 MB / 0.592 GB, free: 0.793 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1988, allocations: 3.938 kB / 0.592 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1988, allocations: 0 / 0.592 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002597/0.1991, allocations: 4 kB / 0.592 GB, free: 0.7852 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.2763/0.4753, allocations: 4.095 MB / 0.596 GB, free: 33.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.4754, allocations: 11.2 kB / 0.596 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002068/0.4775, allocations: 0.6902 MB / 0.5967 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.4888, allocations: 2.988 MB / 0.5996 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006411/0.4952, allocations: 1.843 MB / 0.6014 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.4955, allocations: 185.4 kB / 0.6016 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.4973, allocations: 238.4 kB / 0.6018 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/0.5184, allocations: 9.761 MB / 0.6113 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.334e-05/0.5184, allocations: 15.25 kB / 0.6114 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000501/0.5189, allocations: 113.5 kB / 0.6115 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003987/0.5229, allocations: 2.375 MB / 0.6138 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.54, allocations: 8.957 MB / 0.6225 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04257/0.5826, allocations: 29.55 MB / 0.6514 GB, free: 7.395 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00717/0.5897, allocations: 3.364 MB / 0.6547 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/0.5916, allocations: 1.018 MB / 0.6557 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01328/0.6049, allocations: 6.478 MB / 0.662 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.6049, allocations: 39.22 kB / 0.662 GB, free: 11.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 4.708e-06/0.6049, allocations: 4 kB / 0.662 GB, free: 11.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=135): time 0.008568/0.6135, allocations: 3.147 MB / 0.6651 GB, free: 8.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.6136, allocations: 115.4 kB / 0.6652 GB, free: 8.523 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004877/0.6185, allocations: 2.738 MB / 0.6679 GB, free: 5.766 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002358/0.6187, allocations: 45.69 kB / 0.6679 GB, free: 5.715 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002856/0.6216, allocations: 2.845 MB / 0.6707 GB, free: 2.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009735/0.6225, allocations: 0.535 MB / 0.6712 GB, free: 2.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/0.6241, allocations: 0.9408 MB / 0.6722 GB, free: 1.348 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6242, allocations: 301.1 kB / 0.6725 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.6266, allocations: 1.403 MB / 0.6738 GB, free: 15.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004915/0.6315, allocations: 4.229 MB / 0.678 GB, free: 9.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008687/0.6402, allocations: 6.152 MB / 0.684 GB, free: 2.441 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/0.6403, allocations: 28 kB / 0.684 GB, free: 2.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01193/0.6522, allocations: 5.465 MB / 0.6893 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.6523, allocations: 48 kB / 0.6894 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001839/0.6525, allocations: 100 kB / 0.6895 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.6527, allocations: 135.9 kB / 0.6896 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00349/0.6562, allocations: 0.9942 MB / 0.6906 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002369/0.6564, allocations: 195.2 kB / 0.6907 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/0.6601, allocations: 0.6359 MB / 0.6914 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007648/0.6609, allocations: 280 kB / 0.6916 GB, free: 10.57 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.003846/0.6647, allocations: 1.981 MB / 0.6936 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005398/0.6653, allocations: 238.4 kB / 0.6938 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007377/0.666, allocations: 292.7 kB / 0.6941 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-05/0.666, allocations: 18.16 kB / 0.6941 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.666, allocations: 4 kB / 0.6941 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6661, allocations: 3.984 kB / 0.6941 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.6797, allocations: 6.197 MB / 0.7002 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/0.6797, allocations: 12 kB / 0.7002 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.6804, allocations: 167.7 kB / 0.7003 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/0.6804, allocations: 16.06 kB / 0.7003 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.615e-05/0.6805, allocations: 28 kB / 0.7004 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.798e-05/0.6805, allocations: 19.92 kB / 0.7004 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.6805, allocations: 11.94 kB / 0.7004 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.6834, allocations: 2.011 MB / 0.7024 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008532/0.6843, allocations: 323.1 kB / 0.7027 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/0.6846, allocations: 24 kB / 0.7027 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007058/0.6854, allocations: 43.95 kB / 0.7027 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.6855, allocations: 84.48 kB / 0.7028 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.6856, allocations: 51.97 kB / 0.7029 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003279/0.6889, allocations: 1.67 MB / 0.7045 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6889, allocations: 0 / 0.7045 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005186/0.6941, allocations: 1.035 MB / 0.7055 GB, free: 12.02 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.00367/0.6978, allocations: 2.661 MB / 0.7081 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005718/0.7035, allocations: 3.142 MB / 0.7112 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.7035, allocations: 448 / 0.7112 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.7047, allocations: 0.743 MB / 0.7119 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.7066, allocations: 296.2 kB / 0.7122 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05626/0.7628, allocations: 31.04 MB / 0.7425 GB, free: 2.016 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004364/0.7672, allocations: 3.092 MB / 0.7455 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003562/0.7708, allocations: 1.557 MB / 0.747 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002589/0.7733, allocations: 1.601 MB / 0.7486 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.7733, allocations: 0 / 0.7486 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09275/0.8661, allocations: 41.74 MB / 0.7894 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/16.29, allocations: 11.75 kB / 0.7894 GB, free: 2.148 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.68521598307416]