Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00178/0.00178, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002594/0.002594, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.54/1.54, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2323/0.2323, allocations: 46.9 MB / 361.1 MB, free: 4.609 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 76.16 kB / 0.4967 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3414, allocations: 65.98 MB / 0.5612 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01427/0.3557, allocations: 11.58 MB / 0.5725 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007316/0.363, allocations: 3.082 MB / 0.5755 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.3648, allocations: 63.88 kB / 0.5756 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003248/0.368, allocations: 1.604 MB / 0.5771 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00378/0.3718, allocations: 1.615 MB / 0.5787 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.3722, allocations: 107.9 kB / 0.5788 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004421/0.3766, allocations: 3.298 MB / 0.582 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.3789, allocations: 1.711 MB / 0.5837 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.3805, allocations: 1.144 MB / 0.5848 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003583/0.3841, allocations: 2.594 MB / 0.5873 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000592/0.3846, allocations: 228 kB / 0.5876 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.3861, allocations: 0.7294 MB / 0.5883 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.3876, allocations: 1.538 MB / 0.5898 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002122/0.3897, allocations: 1.808 MB / 0.5915 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007887/0.3976, allocations: 5.939 MB / 0.5973 GB, free: 15.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3976, allocations: 7.938 kB / 0.5973 GB, free: 15.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3976, allocations: 0 / 0.5973 GB, free: 15.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002016/0.3978, allocations: 0 / 0.5973 GB, free: 15.78 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.00831/0.4061, allocations: 4.105 MB / 0.6014 GB, free: 11.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4062, allocations: 8.031 kB / 0.6014 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.4169, allocations: 2.981 MB / 0.6043 GB, free: 8.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005503/0.4224, allocations: 1.844 MB / 0.6061 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.4226, allocations: 188.9 kB / 0.6063 GB, free: 6.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008283/0.4234, allocations: 243.8 kB / 0.6065 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.4394, allocations: 9.764 MB / 0.616 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.785e-05/0.4395, allocations: 15.81 kB / 0.616 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003433/0.4398, allocations: 119.8 kB / 0.6162 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00383/0.4437, allocations: 2.35 MB / 0.6184 GB, free: 9.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01924/0.4629, allocations: 8.96 MB / 0.6272 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04922/0.5121, allocations: 29.55 MB / 0.6561 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006891/0.519, allocations: 3.375 MB / 0.6594 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.5207, allocations: 1.018 MB / 0.6604 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/0.5329, allocations: 6.481 MB / 0.6667 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.533, allocations: 51.16 kB / 0.6667 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.98e-06/0.533, allocations: 0 / 0.6667 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008211/0.5412, allocations: 3.139 MB / 0.6698 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.5413, allocations: 115.5 kB / 0.6699 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/0.5454, allocations: 2.738 MB / 0.6726 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.131e-05/0.5455, allocations: 37.7 kB / 0.6726 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002221/0.5477, allocations: 2.845 MB / 0.6754 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006097/0.5483, allocations: 0.5466 MB / 0.6759 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.5496, allocations: 0.9369 MB / 0.6768 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5497, allocations: 305.1 kB / 0.6771 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.5518, allocations: 1.403 MB / 0.6785 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004495/0.5563, allocations: 4.221 MB / 0.6826 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007894/0.5642, allocations: 6.155 MB / 0.6886 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.957e-05/0.5643, allocations: 32 kB / 0.6887 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009753/0.574, allocations: 5.459 MB / 0.694 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.102e-05/0.5741, allocations: 48 kB / 0.694 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.5742, allocations: 104 kB / 0.6941 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.5744, allocations: 132 kB / 0.6943 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/0.5773, allocations: 0.9942 MB / 0.6952 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001683/0.5775, allocations: 191.3 kB / 0.6954 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/0.5805, allocations: 0.6363 MB / 0.696 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/0.5809, allocations: 292 kB / 0.6963 GB, free: 5.527 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.003883/0.5848, allocations: 1.973 MB / 0.6982 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005491/0.5853, allocations: 250.3 kB / 0.6985 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/0.5859, allocations: 288.7 kB / 0.6988 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/0.5859, allocations: 16 kB / 0.6988 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.5859, allocations: 0 / 0.6988 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.5859, allocations: 7.922 kB / 0.6988 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.5969, allocations: 6.196 MB / 0.7048 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.5969, allocations: 8.219 kB / 0.7048 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/0.5976, allocations: 163.7 kB / 0.705 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.248e-05/0.5976, allocations: 12 kB / 0.705 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.5978, allocations: 32.23 kB / 0.705 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.702e-05/0.5978, allocations: 19.94 kB / 0.7051 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/0.5978, allocations: 15.94 kB / 0.7051 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.6005, allocations: 2.015 MB / 0.707 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005933/0.6011, allocations: 315.1 kB / 0.7073 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.6013, allocations: 31.98 kB / 0.7074 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006133/0.602, allocations: 43.95 kB / 0.7074 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.6021, allocations: 84.23 kB / 0.7075 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.071e-05/0.6022, allocations: 48 kB / 0.7075 GB, free: 9.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002675/0.6049, allocations: 1.666 MB / 0.7092 GB, free: 8.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6049, allocations: 4 kB / 0.7092 GB, free: 8.031 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004104/0.609, allocations: 1.039 MB / 0.7102 GB, free: 6.988 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.0004027/0.6094, allocations: 150.9 kB / 0.7103 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005248/0.6146, allocations: 3.135 MB / 0.7134 GB, free: 3.715 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.6147, allocations: 0 / 0.7134 GB, free: 3.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6157, allocations: 0.7388 MB / 0.7141 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.6174, allocations: 309 kB / 0.7144 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.6315, allocations: 7.812 MB / 0.722 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003862/0.6353, allocations: 3.099 MB / 0.7251 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003459/0.6388, allocations: 1.556 MB / 0.7266 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.6392, allocations: 171.4 kB / 0.7267 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.6392, allocations: 0 / 0.7267 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of Templates: time 0.3013/0.9405, allocations: 18.95 MB / 0.7453 GB, free: 151.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.593661721795797]