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.001528/0.001528, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001721/0.001721, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 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.511/1.511, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3477/0.3477, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 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 2.014e-06/2.014e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.444e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01095/0.01098, allocations: 7.671 MB / 384.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005574/0.01656, allocations: 2.195 MB / 387.1 MB, free: 9.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006436/0.0172, allocations: 43.88 kB / 387.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00339/0.02059, allocations: 1.596 MB / 388.8 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.0217, allocations: 0.5007 MB / 389.3 MB, free: 6.914 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.02198, allocations: 75.77 kB / 389.4 MB, free: 6.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.02315, allocations: 0.9561 MB / 390.3 MB, free: 5.879 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.02473, allocations: 1.233 MB / 391.5 MB, free: 4.621 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.02576, allocations: 0.8106 MB / 392.3 MB, free: 3.809 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.0268, allocations: 0.6231 MB / 393 MB, free: 3.184 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.02699, allocations: 120 kB / 393.1 MB, free: 3.066 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.02729, allocations: 136 kB / 393.2 MB, free: 2.934 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009231/0.02822, allocations: 0.7712 MB / 394 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000626/0.02884, allocations: 498.3 kB / 394.5 MB, free: 1.672 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.03145, allocations: 2.254 MB / 396.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.03145, allocations: 4 kB / 396.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.03145, allocations: 0 / 396.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.03148, allocations: 0 / 396.7 MB, free: 15.41 MB / 378.7 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.002892/0.03437, allocations: 1.904 MB / 398.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.03442, allocations: 12.03 kB / 398.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007614/0.03518, allocations: 347.3 kB / 399 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.03636, allocations: 0.6657 MB / 399.7 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.03648, allocations: 115.4 kB / 399.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.03669, allocations: 152.3 kB / 399.9 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004964/0.04166, allocations: 3.376 MB / 403.3 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.57e-05/0.0417, allocations: 19.81 kB / 403.3 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.04185, allocations: 71.94 kB / 403.4 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008619/0.04271, allocations: 0.6305 MB / 404 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/0.04593, allocations: 1.847 MB / 405.9 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.05881, allocations: 12.39 MB / 418.3 MB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.05895, allocations: 177.1 kB / 418.4 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.059, allocations: 84.12 kB / 418.5 MB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.05905, allocations: 79.28 kB / 418.6 MB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.731e-05/0.05913, allocations: 113.8 kB / 418.7 MB, free: 8.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.793e-06/0.05913, allocations: 0 / 418.7 MB, free: 8.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002476/0.05937, allocations: 136.9 kB / 418.8 MB, free: 8.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.05949, allocations: 130.6 kB / 419 MB, free: 8.312 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.06136, allocations: 1.446 MB / 420.4 MB, free: 6.855 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.06138, allocations: 25.7 kB / 420.4 MB, free: 6.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.06256, allocations: 1.427 MB / 421.9 MB, free: 5.379 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.06261, allocations: 43.95 kB / 421.9 MB, free: 5.336 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006266/0.06324, allocations: 419.2 kB / 422.3 MB, free: 4.918 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.06346, allocations: 337.9 kB / 422.6 MB, free: 4.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.06409, allocations: 371.8 kB / 423 MB, free: 4.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/0.06628, allocations: 1.929 MB / 424.9 MB, free: 1.469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/0.06963, allocations: 2.511 MB / 427.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.792e-05/0.06967, allocations: 16 kB / 427.5 MB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003942/0.07361, allocations: 2.221 MB / 429.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.07365, allocations: 29.88 kB / 429.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-05/0.07372, allocations: 60.12 kB / 429.8 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.07382, allocations: 79.94 kB / 429.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.07507, allocations: 483.1 kB / 430.3 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000103/0.07517, allocations: 107.6 kB / 430.4 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.07658, allocations: 305.8 kB / 430.7 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.07674, allocations: 140 kB / 430.9 MB, free: 10.73 MB / 410.7 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.001192/0.07793, allocations: 0.8627 MB / 431.7 MB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.07813, allocations: 208.2 kB / 431.9 MB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.07834, allocations: 210.2 kB / 432.1 MB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001063/0.07845, allocations: 184.2 kB / 432.3 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001003/0.07855, allocations: 184.2 kB / 432.5 MB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.58e-05/0.07864, allocations: 180.3 kB / 432.7 MB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.07986, allocations: 0.9733 MB / 433.6 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.167e-05/0.07992, allocations: 108.9 kB / 433.7 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.07997, allocations: 101 kB / 433.8 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/0.08008, allocations: 188.2 kB / 434 MB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.08019, allocations: 184.3 kB / 434.2 MB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.286e-05/0.08029, allocations: 176.3 kB / 434.4 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001138/0.0804, allocations: 184.1 kB / 434.6 MB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.08082, allocations: 416.8 kB / 435 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.08104, allocations: 184.3 kB / 435.1 MB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.08123, allocations: 184.2 kB / 435.3 MB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.0815, allocations: 108.9 kB / 435.4 MB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.0816, allocations: 180.2 kB / 435.6 MB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.08167, allocations: 104.9 kB / 435.7 MB, free: 5.688 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001185/0.08285, allocations: 0.8007 MB / 436.5 MB, free: 4.883 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08285, allocations: 0 / 436.5 MB, free: 4.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001708/0.08456, allocations: 462.3 kB / 437 MB, free: 4.43 MB / 410.7 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.000188/0.08475, allocations: 166.5 kB / 437.1 MB, free: 4.258 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.08619, allocations: 0.8722 MB / 438 MB, free: 3.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.08619, allocations: 4 kB / 438 MB, free: 3.395 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.0862, allocations: 4 kB / 438 MB, free: 3.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008372/0.08704, allocations: 0.5351 MB / 438.5 MB, free: 2.852 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/0.09161, allocations: 2.831 MB / 441.4 MB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.09305, allocations: 0.9916 MB / 442.4 MB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00107/0.09412, allocations: 465.7 kB / 442.8 MB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.09423, allocations: 64.5 kB / 442.9 MB, free: 14.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/0.09423, allocations: 0 / 442.9 MB, free: 14.41 MB / 426.7 MB Notification: Performance of Templates: time 0.01591/0.1101, allocations: 6.082 MB / 449 MB, free: 8.469 MB / 426.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/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.1987757799215615]