Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 44.9 MB / 359.6 MB, free: 6.309 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 67.89 kB / 0.4943 GB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3133, allocations: 65.45 MB / 0.5582 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01431/0.3276, allocations: 11.6 MB / 0.5696 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007253/0.3349, allocations: 3.084 MB / 0.5726 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.3368, allocations: 63.81 kB / 0.5726 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003865/0.3407, allocations: 1.608 MB / 0.5742 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004395/0.3451, allocations: 1.619 MB / 0.5758 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.3457, allocations: 115.9 kB / 0.5759 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005242/0.3509, allocations: 3.302 MB / 0.5791 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003288/0.3542, allocations: 1.901 MB / 0.581 GB, free: 360 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.3566, allocations: 1.16 MB / 0.5821 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004332/0.3609, allocations: 2.609 MB / 0.5846 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008551/0.3618, allocations: 228 kB / 0.5849 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.3637, allocations: 0.7371 MB / 0.5856 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002195/0.3659, allocations: 1.538 MB / 0.5871 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.369, allocations: 1.812 MB / 0.5889 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008634/0.3777, allocations: 5.943 MB / 0.5947 GB, free: 2.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3777, allocations: 0 / 0.5947 GB, free: 2.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3777, allocations: 0 / 0.5947 GB, free: 2.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002291/0.3779, allocations: 7.938 kB / 0.5947 GB, free: 2.27 MB / 430.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.01/0.3879, allocations: 4.014 MB / 0.5986 GB, free: 14.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3879, allocations: 12.03 kB / 0.5986 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.3983, allocations: 2.993 MB / 0.6015 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004824/0.4031, allocations: 1.783 MB / 0.6033 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.4033, allocations: 188.9 kB / 0.6034 GB, free: 9.188 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.4044, allocations: 239.8 kB / 0.6037 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/0.4222, allocations: 9.756 MB / 0.6132 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.227e-05/0.4223, allocations: 19.81 kB / 0.6132 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004078/0.4227, allocations: 111.8 kB / 0.6133 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004126/0.4269, allocations: 2.358 MB / 0.6156 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01856/0.4454, allocations: 8.951 MB / 0.6244 GB, free: 3.363 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0497/0.4951, allocations: 29.47 MB / 0.6531 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006523/0.5016, allocations: 2.464 MB / 0.6556 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.5034, allocations: 1.017 MB / 0.6565 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/0.5144, allocations: 4.919 MB / 0.6614 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/0.5144, allocations: 47.16 kB / 0.6614 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.5e-06/0.5144, allocations: 0 / 0.6614 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008079/0.5225, allocations: 3.143 MB / 0.6645 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.5226, allocations: 111.5 kB / 0.6646 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004357/0.5269, allocations: 2.738 MB / 0.6672 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.5271, allocations: 49.69 kB / 0.6673 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002292/0.5294, allocations: 2.845 MB / 0.6701 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000677/0.5301, allocations: 0.535 MB / 0.6706 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.5314, allocations: 0.9369 MB / 0.6715 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5315, allocations: 301.1 kB / 0.6718 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.5337, allocations: 1.406 MB / 0.6732 GB, free: 460 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004833/0.5385, allocations: 4.229 MB / 0.6773 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007817/0.5463, allocations: 6.147 MB / 0.6833 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.604e-05/0.5464, allocations: 28 kB / 0.6833 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009756/0.5562, allocations: 5.467 MB / 0.6887 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.041e-05/0.5563, allocations: 48 kB / 0.6887 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/0.5564, allocations: 96.84 kB / 0.6888 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.5565, allocations: 132 kB / 0.6889 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/0.5596, allocations: 1.002 MB / 0.6899 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001749/0.5598, allocations: 203.2 kB / 0.6901 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/0.5627, allocations: 0.632 MB / 0.6907 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004293/0.5631, allocations: 280 kB / 0.691 GB, free: 11.37 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.003188/0.5663, allocations: 1.978 MB / 0.6929 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/0.5667, allocations: 246.3 kB / 0.6932 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.5673, allocations: 288.8 kB / 0.6934 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/0.5673, allocations: 16 kB / 0.6934 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.5673, allocations: 7.938 kB / 0.6935 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.5673, allocations: 7.984 kB / 0.6935 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.5774, allocations: 6.164 MB / 0.6995 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.5774, allocations: 8 kB / 0.6995 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.5781, allocations: 163.7 kB / 0.6996 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.5781, allocations: 12 kB / 0.6997 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.5782, allocations: 28 kB / 0.6997 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/0.5782, allocations: 19.92 kB / 0.6997 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.5782, allocations: 11.94 kB / 0.6997 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.5808, allocations: 2.012 MB / 0.7017 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005093/0.5813, allocations: 242.2 kB / 0.7019 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.5816, allocations: 28.25 kB / 0.7019 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/0.5822, allocations: 47.95 kB / 0.702 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.5823, allocations: 83.95 kB / 0.7021 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.681e-05/0.5824, allocations: 55.97 kB / 0.7021 GB, free: 15.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002367/0.5847, allocations: 1.67 MB / 0.7037 GB, free: 13.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5847, allocations: 0 / 0.7037 GB, free: 13.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003484/0.5882, allocations: 1.035 MB / 0.7048 GB, free: 12.95 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.0003475/0.5886, allocations: 154.8 kB / 0.7049 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00488/0.5934, allocations: 3.137 MB / 0.708 GB, free: 9.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.5935, allocations: 7.938 kB / 0.708 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009959/0.5945, allocations: 0.7361 MB / 0.7087 GB, free: 8.938 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.5959, allocations: 306.8 kB / 0.709 GB, free: 8.641 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.6094, allocations: 8.256 MB / 0.717 GB, free: 244 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003749/0.6131, allocations: 3.103 MB / 0.7201 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006678/0.6138, allocations: 211.4 kB / 0.7203 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.6138, allocations: 0 / 0.7203 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.3061/0.9199, allocations: 44.98 MB / 0.7642 GB, free: 132.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 11.737973888870329]