Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00124/0.00124, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001385/0.001385, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2299/0.2299, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.91 kB / 0.4974 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3021, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009956/0.312, allocations: 7.658 MB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004538/0.3166, allocations: 2.184 MB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006404/0.3172, allocations: 47.88 kB / 0.5715 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002959/0.3202, allocations: 1.491 MB / 0.573 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.3212, allocations: 489.3 kB / 0.5734 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.3215, allocations: 79.83 kB / 0.5735 GB, free: 8.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.3226, allocations: 0.9254 MB / 0.5744 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.3239, allocations: 1.212 MB / 0.5756 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.3246, allocations: 0.5372 MB / 0.5761 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009255/0.3255, allocations: 0.7277 MB / 0.5768 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.3257, allocations: 120 kB / 0.5769 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.326, allocations: 127.9 kB / 0.5771 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006857/0.3267, allocations: 0.7439 MB / 0.5778 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006491/0.3273, allocations: 0.6405 MB / 0.5784 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.3299, allocations: 2.352 MB / 0.5807 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3299, allocations: 0 / 0.5807 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3299, allocations: 0 / 0.5807 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.81e-05/0.3299, allocations: 3.938 kB / 0.5807 GB, free: 0.75 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.002872/0.3328, allocations: 1.919 MB / 0.5826 GB, free: 14.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3328, allocations: 12.03 kB / 0.5826 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006534/0.3335, allocations: 223.4 kB / 0.5828 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.3348, allocations: 0.6625 MB / 0.5835 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.335, allocations: 115.4 kB / 0.5836 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.3352, allocations: 153.2 kB / 0.5837 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004527/0.3397, allocations: 3.387 MB / 0.587 GB, free: 9.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/0.3397, allocations: 15.88 kB / 0.587 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.3399, allocations: 75.88 kB / 0.5871 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008647/0.3407, allocations: 0.6188 MB / 0.5877 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003382/0.3441, allocations: 1.862 MB / 0.5895 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.358, allocations: 12.4 MB / 0.6016 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.3581, allocations: 173.1 kB / 0.6018 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.3582, allocations: 88.06 kB / 0.6019 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.3582, allocations: 75.28 kB / 0.602 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/0.3583, allocations: 109.8 kB / 0.6021 GB, free: 10.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/0.3583, allocations: 0 / 0.6021 GB, free: 10.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002642/0.3585, allocations: 129 kB / 0.6022 GB, free: 9.895 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.3586, allocations: 134.6 kB / 0.6023 GB, free: 9.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.3605, allocations: 1.446 MB / 0.6037 GB, free: 8.297 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.3605, allocations: 25.7 kB / 0.6037 GB, free: 8.266 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.3617, allocations: 1.439 MB / 0.6052 GB, free: 6.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.3618, allocations: 47.95 kB / 0.6052 GB, free: 6.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000541/0.3623, allocations: 427.2 kB / 0.6056 GB, free: 6.336 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3625, allocations: 334 kB / 0.6059 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.363, allocations: 379.7 kB / 0.6063 GB, free: 5.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.3651, allocations: 1.925 MB / 0.6082 GB, free: 2.887 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.3678, allocations: 2.511 MB / 0.6106 GB, free: 15.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.599e-05/0.3678, allocations: 16 kB / 0.6106 GB, free: 15.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003291/0.3711, allocations: 2.092 MB / 0.6127 GB, free: 13.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.3711, allocations: 32 kB / 0.6127 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-05/0.3712, allocations: 56 kB / 0.6128 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.569e-05/0.3713, allocations: 76.75 kB / 0.6128 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.3724, allocations: 495 kB / 0.6133 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.73e-05/0.3725, allocations: 115.5 kB / 0.6134 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3738, allocations: 301.8 kB / 0.6137 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.3739, allocations: 136 kB / 0.6138 GB, free: 12.27 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.001086/0.375, allocations: 0.8667 MB / 0.6147 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3752, allocations: 208.2 kB / 0.6149 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.3754, allocations: 218.1 kB / 0.6151 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.111e-05/0.3755, allocations: 180.3 kB / 0.6153 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.88e-05/0.3755, allocations: 188.2 kB / 0.6154 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.239e-05/0.3756, allocations: 176.3 kB / 0.6156 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.3767, allocations: 0.981 MB / 0.6166 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-05/0.3768, allocations: 105 kB / 0.6167 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.3768, allocations: 108.9 kB / 0.6168 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.161e-05/0.3769, allocations: 176.3 kB / 0.6169 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.44e-05/0.377, allocations: 176.3 kB / 0.6171 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.47e-05/0.3771, allocations: 188.2 kB / 0.6173 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.108e-05/0.3772, allocations: 176.3 kB / 0.6175 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.3774, allocations: 424.7 kB / 0.6179 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.3776, allocations: 192.3 kB / 0.618 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.3778, allocations: 184.2 kB / 0.6182 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.3781, allocations: 101 kB / 0.6183 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.3782, allocations: 192.1 kB / 0.6185 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.3782, allocations: 101 kB / 0.6186 GB, free: 7.199 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.3792, allocations: 0.8007 MB / 0.6194 GB, free: 6.395 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3792, allocations: 0 / 0.6194 GB, free: 6.395 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001617/0.3809, allocations: 462.3 kB / 0.6198 GB, free: 5.941 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.0001625/0.381, allocations: 170.5 kB / 0.62 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.3823, allocations: 0.8673 MB / 0.6208 GB, free: 4.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3823, allocations: 0 / 0.6208 GB, free: 4.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.3823, allocations: 4 kB / 0.6208 GB, free: 4.906 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007151/0.3831, allocations: 0.533 MB / 0.6213 GB, free: 4.371 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.3873, allocations: 2.792 MB / 0.6241 GB, free: 1.539 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.3885, allocations: 0.9956 MB / 0.625 GB, free: 0.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00102/0.3895, allocations: 461.7 kB / 0.6255 GB, free: 48 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3897, allocations: 71.48 kB / 0.6256 GB, free: 15.97 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3897, allocations: 0 / 0.6256 GB, free: 15.97 MB / 478.1 MB Notification: Performance of Templates: time 0.01767/0.4074, allocations: 8.44 MB / 0.6338 GB, free: 7.668 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.02957000900642]