Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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.00167/0.00167, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002026/0.002026, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2233/0.2233, allocations: 44.92 MB / 359.6 MB, free: 6.281 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.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") [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.002098/0.002098, allocations: 63.91 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3377, allocations: 65.47 MB / 0.5583 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01073/0.3484, allocations: 8.756 MB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005484/0.3539, allocations: 2.317 MB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009359/0.3549, allocations: 47.88 kB / 0.5691 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003127/0.358, allocations: 1.561 MB / 0.5706 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.3593, allocations: 493.3 kB / 0.5711 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.3596, allocations: 71.89 kB / 0.5712 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.361, allocations: 0.9331 MB / 0.5721 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.3625, allocations: 1.205 MB / 0.5733 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.3632, allocations: 0.5449 MB / 0.5738 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009953/0.3642, allocations: 0.72 MB / 0.5745 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.3643, allocations: 120 kB / 0.5746 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.3646, allocations: 123.9 kB / 0.5747 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006671/0.3653, allocations: 0.7478 MB / 0.5755 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007752/0.3661, allocations: 0.8502 MB / 0.5763 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.3685, allocations: 2.324 MB / 0.5786 GB, free: 2.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.3685, allocations: 7.984 kB / 0.5786 GB, free: 2.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3685, allocations: 0 / 0.5786 GB, free: 2.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.498e-05/0.3686, allocations: 4 kB / 0.5786 GB, free: 2.785 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002856/0.3714, allocations: 1.928 MB / 0.5805 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3715, allocations: 8.031 kB / 0.5805 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005623/0.372, allocations: 223.4 kB / 0.5807 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.3732, allocations: 0.6586 MB / 0.5813 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.752e-05/0.3733, allocations: 115.4 kB / 0.5814 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.3735, allocations: 156.1 kB / 0.5816 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.3777, allocations: 3.379 MB / 0.5849 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.3777, allocations: 15.88 kB / 0.5849 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.3779, allocations: 71.94 kB / 0.585 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007412/0.3786, allocations: 0.6187 MB / 0.5856 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003052/0.3816, allocations: 1.862 MB / 0.5874 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.3944, allocations: 13.44 MB / 0.6005 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3945, allocations: 169.1 kB / 0.6007 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.3946, allocations: 84.14 kB / 0.6008 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.3946, allocations: 83.22 kB / 0.6008 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.843e-05/0.3947, allocations: 109.8 kB / 0.6009 GB, free: 11.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.794e-06/0.3947, allocations: 0 / 0.6009 GB, free: 11.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003061/0.395, allocations: 156.8 kB / 0.6011 GB, free: 10.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.3951, allocations: 126.7 kB / 0.6012 GB, free: 10.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.3972, allocations: 1.651 MB / 0.6028 GB, free: 9.062 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3972, allocations: 25.7 kB / 0.6029 GB, free: 9.031 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.3983, allocations: 1.419 MB / 0.6042 GB, free: 7.594 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.3983, allocations: 43.95 kB / 0.6043 GB, free: 7.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/0.3988, allocations: 431.1 kB / 0.6047 GB, free: 7.121 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.399, allocations: 357.9 kB / 0.605 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.3995, allocations: 371.8 kB / 0.6054 GB, free: 6.398 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.4014, allocations: 1.925 MB / 0.6073 GB, free: 3.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/0.4043, allocations: 2.519 MB / 0.6097 GB, free: 344 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.899e-05/0.4043, allocations: 16 kB / 0.6097 GB, free: 328 kB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003552/0.4079, allocations: 2.116 MB / 0.6118 GB, free: 14.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/0.4079, allocations: 32 kB / 0.6118 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-05/0.408, allocations: 56 kB / 0.6119 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.01e-05/0.4081, allocations: 76.03 kB / 0.612 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.4093, allocations: 487.1 kB / 0.6124 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-05/0.4094, allocations: 111.5 kB / 0.6125 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.4108, allocations: 333.5 kB / 0.6129 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.4109, allocations: 140 kB / 0.613 GB, free: 12.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001277/0.4122, allocations: 0.8627 MB / 0.6138 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.4124, allocations: 236.1 kB / 0.6141 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.4126, allocations: 228.1 kB / 0.6143 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-05/0.4127, allocations: 180.3 kB / 0.6144 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.809e-05/0.4128, allocations: 184.2 kB / 0.6146 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.961e-05/0.4129, allocations: 184.3 kB / 0.6148 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.4148, allocations: 1.453 MB / 0.6162 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.477e-05/0.4148, allocations: 112.9 kB / 0.6163 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.4149, allocations: 101 kB / 0.6164 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.138e-05/0.415, allocations: 180.2 kB / 0.6166 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.4151, allocations: 188.2 kB / 0.6168 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-05/0.4152, allocations: 180.3 kB / 0.6169 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.042e-05/0.4152, allocations: 184.2 kB / 0.6171 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.4156, allocations: 430 kB / 0.6175 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.4159, allocations: 228 kB / 0.6177 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.4161, allocations: 184.3 kB / 0.6179 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.4164, allocations: 104.9 kB / 0.618 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.4165, allocations: 180.2 kB / 0.6182 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.4166, allocations: 104.9 kB / 0.6183 GB, free: 7.336 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001466/0.418, allocations: 1.018 MB / 0.6193 GB, free: 6.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.418, allocations: 0 / 0.6193 GB, free: 6.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00166/0.4197, allocations: 430.7 kB / 0.6197 GB, free: 5.898 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001893/0.4199, allocations: 178.5 kB / 0.6199 GB, free: 5.715 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.4213, allocations: 0.8687 MB / 0.6207 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4213, allocations: 0 / 0.6207 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.4213, allocations: 0 / 0.6207 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.4222, allocations: 0.579 MB / 0.6213 GB, free: 4.273 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/0.427, allocations: 2.985 MB / 0.6242 GB, free: 1.242 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/0.4286, allocations: 1.583 MB / 0.6257 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.4287, allocations: 95.44 kB / 0.6258 GB, free: 15.53 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4287, allocations: 0 / 0.6258 GB, free: 15.53 MB / 478.1 MB Notification: Performance of Templates: time 0.03153/0.4603, allocations: 17.95 MB / 0.6434 GB, free: 13.6 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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: 8.906671643955633]