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.001426/0.001426, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001548/0.001548, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.336/1.336, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] 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.2075/0.2075, allocations: 46.92 MB / 361.5 MB, free: 4.184 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: translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 84.14 kB / 0.4974 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2843, allocations: 66.07 MB / 0.5619 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0134/0.2977, allocations: 11.57 MB / 0.5732 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006197/0.3039, allocations: 3.094 MB / 0.5763 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.306, allocations: 71.75 kB / 0.5763 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003426/0.3094, allocations: 1.6 MB / 0.5779 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.3131, allocations: 1.623 MB / 0.5795 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.3136, allocations: 115.8 kB / 0.5796 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004535/0.3181, allocations: 3.304 MB / 0.5828 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002795/0.3209, allocations: 1.897 MB / 0.5847 GB, free: 13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.3227, allocations: 1.164 MB / 0.5858 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003696/0.3264, allocations: 2.606 MB / 0.5883 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006429/0.3271, allocations: 231.9 kB / 0.5886 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.3287, allocations: 0.7372 MB / 0.5893 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.3306, allocations: 1.538 MB / 0.5908 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.3327, allocations: 1.812 MB / 0.5926 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006405/0.3391, allocations: 5.939 MB / 0.5984 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3391, allocations: 0 / 0.5984 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3391, allocations: 0 / 0.5984 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001082/0.3392, allocations: 0 / 0.5984 GB, free: 14.93 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.006669/0.3459, allocations: 4.033 MB / 0.6023 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3459, allocations: 12.03 kB / 0.6023 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009118/0.3551, allocations: 2.989 MB / 0.6052 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/0.3592, allocations: 1.779 MB / 0.607 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.3594, allocations: 180.9 kB / 0.6071 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008359/0.3602, allocations: 239.8 kB / 0.6074 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.3746, allocations: 9.76 MB / 0.6169 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.847e-05/0.3747, allocations: 15.88 kB / 0.6169 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003298/0.375, allocations: 111.8 kB / 0.617 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00353/0.3785, allocations: 2.373 MB / 0.6193 GB, free: 8.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.3933, allocations: 8.944 MB / 0.6281 GB, free: 8 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.041/0.4343, allocations: 29.46 MB / 0.6568 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005827/0.4401, allocations: 2.483 MB / 0.6593 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.4416, allocations: 1.013 MB / 0.6603 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009844/0.4514, allocations: 4.915 MB / 0.6651 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.4515, allocations: 47.16 kB / 0.6651 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.278e-06/0.4515, allocations: 0 / 0.6651 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.007305/0.4588, allocations: 3.139 MB / 0.6682 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.4589, allocations: 111.5 kB / 0.6683 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/0.4626, allocations: 2.75 MB / 0.671 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.4627, allocations: 37.7 kB / 0.671 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002255/0.465, allocations: 2.845 MB / 0.6738 GB, free: 308 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000636/0.4656, allocations: 0.5392 MB / 0.6743 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.4667, allocations: 0.9369 MB / 0.6752 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4669, allocations: 301.1 kB / 0.6755 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.4688, allocations: 1.403 MB / 0.6769 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/0.473, allocations: 4.233 MB / 0.681 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006899/0.4799, allocations: 6.147 MB / 0.687 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-05/0.4799, allocations: 28 kB / 0.687 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008611/0.4885, allocations: 5.467 MB / 0.6924 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-05/0.4886, allocations: 48.94 kB / 0.6924 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.4887, allocations: 100 kB / 0.6925 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.4889, allocations: 136 kB / 0.6926 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/0.4917, allocations: 0.9981 MB / 0.6936 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001561/0.4918, allocations: 195.2 kB / 0.6938 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.4943, allocations: 0.6358 MB / 0.6944 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003399/0.4946, allocations: 292 kB / 0.6947 GB, free: 8.004 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.002738/0.4974, allocations: 1.971 MB / 0.6966 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.4977, allocations: 246.3 kB / 0.6969 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.4982, allocations: 284.8 kB / 0.6971 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/0.4983, allocations: 20 kB / 0.6972 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.4983, allocations: 0 / 0.6972 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.4983, allocations: 8.172 kB / 0.6972 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009428/0.5077, allocations: 6.164 MB / 0.7032 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.5077, allocations: 8 kB / 0.7032 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/0.5083, allocations: 171.6 kB / 0.7034 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.5084, allocations: 12 kB / 0.7034 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.5084, allocations: 28 kB / 0.7034 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-05/0.5084, allocations: 15.94 kB / 0.7034 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.5084, allocations: 11.94 kB / 0.7034 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.5108, allocations: 2.015 MB / 0.7054 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.5113, allocations: 242 kB / 0.7056 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.5115, allocations: 27.98 kB / 0.7056 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005697/0.5121, allocations: 51.95 kB / 0.7057 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.5122, allocations: 80.19 kB / 0.7058 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.5123, allocations: 52 kB / 0.7058 GB, free: 12.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002338/0.5146, allocations: 1.67 MB / 0.7074 GB, free: 10.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5146, allocations: 3.938 kB / 0.7075 GB, free: 10.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003398/0.518, allocations: 1.028 MB / 0.7085 GB, free: 9.602 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.0003322/0.5184, allocations: 158.8 kB / 0.7086 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004583/0.5229, allocations: 3.137 MB / 0.7117 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.523, allocations: 0 / 0.7117 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009294/0.5239, allocations: 0.744 MB / 0.7124 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.5252, allocations: 304.7 kB / 0.7127 GB, free: 5.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.5382, allocations: 8.256 MB / 0.7208 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/0.5416, allocations: 3.111 MB / 0.7238 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000621/0.5423, allocations: 207.4 kB / 0.724 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of SimCode: time 9.11e-07/0.5423, allocations: 0 / 0.724 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of Templates: time 0.2653/0.8076, allocations: 44.99 MB / 0.7679 GB, free: 128.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] 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: 10.434650907060131]