Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00143/0.00143, allocations: 111.1 kB / 20.44 MB, free: 1.203 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.001536/0.001536, allocations: 210.2 kB / 23.72 MB, free: 4.422 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2363/0.2363, allocations: 46.95 MB / 360.9 MB, free: 4.043 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+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.1.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.1.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.91 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 66.04 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01298/0.3549, allocations: 10.06 MB / 0.5709 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007331/0.3622, allocations: 2.916 MB / 0.5737 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.3637, allocations: 67.81 kB / 0.5738 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.3669, allocations: 1.541 MB / 0.5753 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.3708, allocations: 1.631 MB / 0.5769 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.3712, allocations: 107.9 kB / 0.577 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004669/0.3758, allocations: 3.308 MB / 0.5802 GB, free: 488 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/0.3783, allocations: 1.913 MB / 0.5821 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.3804, allocations: 1.16 MB / 0.5832 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004813/0.3853, allocations: 2.617 MB / 0.5858 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008965/0.3861, allocations: 228 kB / 0.586 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.3877, allocations: 0.6124 MB / 0.5866 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.3897, allocations: 1.538 MB / 0.5881 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.3916, allocations: 1.276 MB / 0.5893 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007647/0.3992, allocations: 5.97 MB / 0.5952 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3992, allocations: 0 / 0.5952 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3992, allocations: 0 / 0.5952 GB, free: 1.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001602/0.3994, allocations: 0 / 0.5952 GB, free: 1.078 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.007785/0.4072, allocations: 4.033 MB / 0.5991 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4072, allocations: 8.031 kB / 0.5991 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009758/0.417, allocations: 2.989 MB / 0.602 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005299/0.4223, allocations: 1.787 MB / 0.6038 GB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.4225, allocations: 184.9 kB / 0.604 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008068/0.4233, allocations: 239.8 kB / 0.6042 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.44, allocations: 9.76 MB / 0.6137 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.099e-05/0.4401, allocations: 15.88 kB / 0.6137 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.4405, allocations: 123.8 kB / 0.6139 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004078/0.4445, allocations: 2.354 MB / 0.6162 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.4635, allocations: 8.94 MB / 0.6249 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04489/0.5083, allocations: 26.8 MB / 0.6511 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006734/0.5151, allocations: 2.461 MB / 0.6535 GB, free: 4.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.5167, allocations: 1.017 MB / 0.6545 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/0.5287, allocations: 4.696 MB / 0.659 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/0.5288, allocations: 39.22 kB / 0.6591 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 6.232e-06/0.5288, allocations: 0 / 0.6591 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008574/0.5373, allocations: 3.143 MB / 0.6621 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.5375, allocations: 119.4 kB / 0.6623 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004398/0.5419, allocations: 2.784 MB / 0.665 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.542, allocations: 37.7 kB / 0.665 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002392/0.5444, allocations: 2.86 MB / 0.6678 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006881/0.5451, allocations: 0.535 MB / 0.6683 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/0.5464, allocations: 0.9369 MB / 0.6692 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.5466, allocations: 361.9 kB / 0.6696 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.5486, allocations: 1.403 MB / 0.671 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004538/0.5532, allocations: 4.225 MB / 0.6751 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008415/0.5616, allocations: 6.143 MB / 0.6811 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.711e-05/0.5617, allocations: 28 kB / 0.6811 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009939/0.5716, allocations: 5.456 MB / 0.6864 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.043e-05/0.5717, allocations: 55.92 kB / 0.6865 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/0.5719, allocations: 103.9 kB / 0.6866 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.572, allocations: 132.2 kB / 0.6867 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/0.5751, allocations: 0.991 MB / 0.6877 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001683/0.5753, allocations: 195.2 kB / 0.6879 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003536/0.5788, allocations: 0.6165 MB / 0.6885 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005028/0.5793, allocations: 296 kB / 0.6888 GB, free: 13 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.003951/0.5832, allocations: 1.97 MB / 0.6907 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005447/0.5838, allocations: 238.3 kB / 0.6909 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006443/0.5844, allocations: 287.8 kB / 0.6912 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/0.5845, allocations: 16 kB / 0.6912 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.5845, allocations: 0 / 0.6912 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.5845, allocations: 3.984 kB / 0.6912 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.5957, allocations: 4.807 MB / 0.6959 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.546e-05/0.5957, allocations: 8 kB / 0.6959 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007934/0.5965, allocations: 163.7 kB / 0.6961 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/0.5965, allocations: 12 kB / 0.6961 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.5966, allocations: 31.98 kB / 0.6961 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.809e-05/0.5967, allocations: 15.94 kB / 0.6961 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/0.5967, allocations: 15.92 kB / 0.6961 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/0.6, allocations: 1.995 MB / 0.6981 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007381/0.6008, allocations: 234.1 kB / 0.6983 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004279/0.6012, allocations: 27.98 kB / 0.6983 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008536/0.6021, allocations: 40.22 kB / 0.6984 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.6022, allocations: 88.17 kB / 0.6985 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6023, allocations: 52 kB / 0.6985 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003491/0.6058, allocations: 1.585 MB / 0.7 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6058, allocations: 3.938 kB / 0.7001 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00439/0.6102, allocations: 1.051 MB / 0.7011 GB, free: 72 kB / 0.5294 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.0004751/0.6107, allocations: 158.8 kB / 0.7012 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005445/0.6161, allocations: 3.138 MB / 0.7043 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.6161, allocations: 0 / 0.7043 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.6172, allocations: 0.7437 MB / 0.705 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.6186, allocations: 218.5 kB / 0.7052 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.6317, allocations: 7.79 MB / 0.7128 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003768/0.6354, allocations: 2.552 MB / 0.7153 GB, free: 1.324 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003413/0.6388, allocations: 1.531 MB / 0.7168 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.6392, allocations: 159.4 kB / 0.717 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.6392, allocations: 4 kB / 0.717 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.3328/0.9721, allocations: 18.91 MB / 0.7354 GB, free: 154.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.774885205086321]