Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.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.001784/0.001784, allocations: 114 kB / 21.18 MB, free: 0.7422 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.002174/0.002174, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.453/1.453, allocations: 230.2 MB / 257.8 MB, free: 8.469 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.2326/0.2326, allocations: 46.89 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.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes") [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.002239/0.002239, allocations: 75.88 kB / 0.4968 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2915, allocations: 65.99 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0103/0.3018, allocations: 8.748 MB / 0.5698 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.3067, allocations: 2.309 MB / 0.572 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.3074, allocations: 39.94 kB / 0.5721 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.3103, allocations: 1.561 MB / 0.5736 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009363/0.3112, allocations: 497.3 kB / 0.5741 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.3114, allocations: 75.84 kB / 0.5741 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.3125, allocations: 0.9292 MB / 0.575 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.3138, allocations: 1.099 MB / 0.5761 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005697/0.3143, allocations: 0.5333 MB / 0.5766 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009433/0.3153, allocations: 0.7238 MB / 0.5773 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.3155, allocations: 120 kB / 0.5775 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.3157, allocations: 127.9 kB / 0.5776 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006677/0.3164, allocations: 0.7439 MB / 0.5783 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007548/0.3171, allocations: 0.8464 MB / 0.5791 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.3195, allocations: 2.337 MB / 0.5814 GB, free: 220 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3195, allocations: 0 / 0.5814 GB, free: 220 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3195, allocations: 0 / 0.5814 GB, free: 220 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.755e-05/0.3196, allocations: 0 / 0.5814 GB, free: 220 kB / 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.002668/0.3222, allocations: 1.995 MB / 0.5834 GB, free: 14.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3223, allocations: 12.03 kB / 0.5834 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005403/0.3228, allocations: 223.4 kB / 0.5836 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.324, allocations: 0.7345 MB / 0.5843 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.724e-05/0.3241, allocations: 111.4 kB / 0.5844 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.3243, allocations: 152.1 kB / 0.5846 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004188/0.3285, allocations: 3.379 MB / 0.5879 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.3285, allocations: 15.88 kB / 0.5879 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.3287, allocations: 71.94 kB / 0.5879 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007813/0.3295, allocations: 0.6188 MB / 0.5885 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.3325, allocations: 1.862 MB / 0.5904 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.345, allocations: 13.51 MB / 0.6036 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.3451, allocations: 173.1 kB / 0.6037 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.3451, allocations: 84.14 kB / 0.6038 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.86e-05/0.3452, allocations: 83.2 kB / 0.6039 GB, free: 8.332 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/0.3453, allocations: 105.8 kB / 0.604 GB, free: 8.219 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/0.3453, allocations: 0 / 0.604 GB, free: 8.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002311/0.3455, allocations: 160.9 kB / 0.6041 GB, free: 8.055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.3456, allocations: 55.34 kB / 0.6042 GB, free: 7.988 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.3475, allocations: 1.647 MB / 0.6058 GB, free: 6.332 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3475, allocations: 25.7 kB / 0.6058 GB, free: 6.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.3486, allocations: 1.416 MB / 0.6072 GB, free: 4.867 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.3486, allocations: 47.94 kB / 0.6072 GB, free: 4.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004707/0.3491, allocations: 423.1 kB / 0.6076 GB, free: 4.398 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3493, allocations: 361.9 kB / 0.608 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.3498, allocations: 375.8 kB / 0.6084 GB, free: 3.668 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.3517, allocations: 1.929 MB / 0.6102 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/0.3544, allocations: 2.507 MB / 0.6127 GB, free: 13.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/0.3544, allocations: 20 kB / 0.6127 GB, free: 13.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00308/0.3575, allocations: 2.115 MB / 0.6148 GB, free: 11.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.3575, allocations: 32 kB / 0.6148 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.856e-05/0.3576, allocations: 56 kB / 0.6149 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-05/0.3577, allocations: 72 kB / 0.6149 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.3588, allocations: 0.4911 MB / 0.6154 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.65e-05/0.3589, allocations: 107.6 kB / 0.6155 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.3602, allocations: 329.9 kB / 0.6158 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.3603, allocations: 144 kB / 0.616 GB, free: 10.25 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.001117/0.3614, allocations: 0.8627 MB / 0.6168 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.3616, allocations: 232.1 kB / 0.617 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.3618, allocations: 232.2 kB / 0.6172 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-05/0.3619, allocations: 180.3 kB / 0.6174 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.106e-05/0.362, allocations: 105 kB / 0.6175 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.3623, allocations: 301.2 kB / 0.6178 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.3625, allocations: 180.2 kB / 0.618 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.3628, allocations: 109 kB / 0.6181 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.3629, allocations: 184.2 kB / 0.6183 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001086/0.363, allocations: 263.5 kB / 0.6185 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002955/0.3633, allocations: 0.4932 MB / 0.619 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.484e-05/0.3634, allocations: 109 kB / 0.6191 GB, free: 6.906 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001356/0.3647, allocations: 1.018 MB / 0.6201 GB, free: 5.891 MB / 462.1 MB Notification: Performance of Backend: time 5.01e-07/0.3647, allocations: 0 / 0.6201 GB, free: 5.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.3665, allocations: 0.9411 MB / 0.621 GB, free: 4.957 MB / 462.1 MB Notification: Performance of SimCode: time 0.005465/0.3719, allocations: 3.744 MB / 0.6247 GB, free: 1.145 MB / 462.1 MB Notification: Performance of Templates: time 0.02236/0.3943, allocations: 9.88 MB / 0.6343 GB, free: 7.301 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.084601873997599]