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.001858/0.001858, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002207/0.002207, allocations: 209 kB / 24.48 MB, free: 3.938 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.468/1.468, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2196/0.2196, allocations: 44.94 MB / 359.6 MB, free: 6.047 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.002135/0.002135, allocations: 71.89 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.363, allocations: 65.48 MB / 0.5582 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0102/0.3732, allocations: 7.651 MB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005567/0.3788, allocations: 2.188 MB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.3798, allocations: 43.94 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003837/0.3837, allocations: 1.499 MB / 0.5693 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.3855, allocations: 497.2 kB / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.3858, allocations: 67.91 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.3874, allocations: 0.9254 MB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.3888, allocations: 1.204 MB / 0.5719 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006636/0.3895, allocations: 0.5488 MB / 0.5725 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009533/0.3904, allocations: 0.6419 MB / 0.5731 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.3906, allocations: 120 kB / 0.5732 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.391, allocations: 120 kB / 0.5733 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007471/0.3917, allocations: 0.7439 MB / 0.5741 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006764/0.3924, allocations: 0.6444 MB / 0.5747 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.3949, allocations: 2.352 MB / 0.577 GB, free: 4.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.3949, allocations: 4 kB / 0.577 GB, free: 4.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3949, allocations: 4 kB / 0.577 GB, free: 4.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.126e-05/0.3949, allocations: 0 / 0.577 GB, free: 4.125 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.002932/0.3979, allocations: 1.92 MB / 0.5789 GB, free: 2.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3979, allocations: 8.031 kB / 0.5789 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.3985, allocations: 231.3 kB / 0.5791 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.3998, allocations: 0.6586 MB / 0.5797 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.3999, allocations: 123.4 kB / 0.5799 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.4001, allocations: 152.1 kB / 0.58 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004495/0.4046, allocations: 3.383 MB / 0.5833 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.614e-05/0.4046, allocations: 11.88 kB / 0.5833 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.4048, allocations: 75.94 kB / 0.5834 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007627/0.4055, allocations: 0.6188 MB / 0.584 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/0.4087, allocations: 1.862 MB / 0.5858 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/0.4224, allocations: 12.42 MB / 0.5979 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.4225, allocations: 173.1 kB / 0.5981 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.4226, allocations: 80.14 kB / 0.5982 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.4226, allocations: 75.28 kB / 0.5983 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.4227, allocations: 113.8 kB / 0.5984 GB, free: 13.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.4227, allocations: 0 / 0.5984 GB, free: 13.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002398/0.4229, allocations: 136.9 kB / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.423, allocations: 126.7 kB / 0.5986 GB, free: 13.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.4247, allocations: 1.438 MB / 0.6 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.4247, allocations: 25.7 kB / 0.6 GB, free: 11.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.4258, allocations: 1.45 MB / 0.6015 GB, free: 10.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.4258, allocations: 43.95 kB / 0.6015 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004774/0.4263, allocations: 431.2 kB / 0.6019 GB, free: 9.691 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4264, allocations: 334 kB / 0.6022 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.427, allocations: 367.8 kB / 0.6026 GB, free: 8.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.4289, allocations: 1.929 MB / 0.6045 GB, free: 6.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/0.4318, allocations: 2.511 MB / 0.6069 GB, free: 2.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.215e-05/0.4319, allocations: 16 kB / 0.6069 GB, free: 2.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00337/0.4352, allocations: 2.1 MB / 0.609 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.4353, allocations: 31.94 kB / 0.609 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.636e-05/0.4353, allocations: 56 kB / 0.6091 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.389e-05/0.4354, allocations: 76 kB / 0.6091 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.4366, allocations: 483.1 kB / 0.6096 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/0.4367, allocations: 115.6 kB / 0.6097 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.4381, allocations: 298 kB / 0.61 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.4382, allocations: 144 kB / 0.6101 GB, free: 15.63 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.001203/0.4394, allocations: 0.8629 MB / 0.611 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.4396, allocations: 216 kB / 0.6112 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.4398, allocations: 210 kB / 0.6114 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.05e-05/0.4398, allocations: 180.3 kB / 0.6116 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.059e-05/0.4399, allocations: 180.3 kB / 0.6117 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.422e-05/0.44, allocations: 184.2 kB / 0.6119 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.4411, allocations: 0.9772 MB / 0.6129 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.326e-05/0.4412, allocations: 112.9 kB / 0.613 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.4412, allocations: 105 kB / 0.6131 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.589e-05/0.4413, allocations: 180.2 kB / 0.6132 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/0.4414, allocations: 184.2 kB / 0.6134 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-05/0.4415, allocations: 176.3 kB / 0.6136 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-05/0.4416, allocations: 184.1 kB / 0.6138 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.4418, allocations: 416.8 kB / 0.6142 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.442, allocations: 196.2 kB / 0.6143 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.4422, allocations: 184.2 kB / 0.6145 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.4425, allocations: 108.9 kB / 0.6146 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.4426, allocations: 176.3 kB / 0.6148 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.4426, allocations: 105 kB / 0.6149 GB, free: 10.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00101/0.4436, allocations: 0.8085 MB / 0.6157 GB, free: 9.754 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4436, allocations: 0 / 0.6157 GB, free: 9.754 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001674/0.4453, allocations: 458.3 kB / 0.6161 GB, free: 9.305 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.0001752/0.4455, allocations: 166.5 kB / 0.6163 GB, free: 9.133 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.4468, allocations: 0.8722 MB / 0.6171 GB, free: 8.273 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4468, allocations: 448 / 0.6171 GB, free: 8.273 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/0.4468, allocations: 4 kB / 0.6171 GB, free: 8.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.4475, allocations: 0.5268 MB / 0.6176 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.4522, allocations: 2.985 MB / 0.6206 GB, free: 4.711 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.4534, allocations: 0.9917 MB / 0.6215 GB, free: 3.676 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.4536, allocations: 83.44 kB / 0.6216 GB, free: 3.594 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4536, allocations: 0 / 0.6216 GB, free: 3.594 MB / 462.1 MB Notification: Performance of Templates: time 0.03037/0.4839, allocations: 17.25 MB / 0.6385 GB, free: 2.34 MB / 478.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.809309408068657]