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.00144/0.00144, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001553/0.001553, allocations: 165.3 kB / 24.26 MB, free: 148 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.539/1.539, 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.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.3605/0.3605, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.544e-05, allocations: 6.25 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01121/0.01125, allocations: 7.678 MB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005512/0.01676, allocations: 2.192 MB / 385.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008138/0.01757, allocations: 43.88 kB / 385.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003826/0.0214, allocations: 1.596 MB / 386.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.02255, allocations: 0.4968 MB / 387.2 MB, free: 8.938 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.02286, allocations: 79.7 kB / 387.3 MB, free: 8.859 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.02405, allocations: 0.9562 MB / 388.3 MB, free: 7.898 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.02563, allocations: 1.236 MB / 389.5 MB, free: 6.637 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.02666, allocations: 0.8067 MB / 390.3 MB, free: 5.828 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.02771, allocations: 0.6232 MB / 391 MB, free: 5.203 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.02792, allocations: 120 kB / 391.1 MB, free: 5.086 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.02823, allocations: 135.9 kB / 391.2 MB, free: 4.953 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008143/0.02904, allocations: 0.7751 MB / 392 MB, free: 4.176 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00059/0.02963, allocations: 494.4 kB / 392.5 MB, free: 3.691 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.03241, allocations: 2.257 MB / 394.7 MB, free: 1.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.03241, allocations: 0 / 394.7 MB, free: 1.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.03241, allocations: 0 / 394.7 MB, free: 1.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.03244, allocations: 0 / 394.7 MB, free: 1.426 MB / 362.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.002913/0.03535, allocations: 1.904 MB / 396.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.0354, allocations: 8.031 kB / 396.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007065/0.03611, allocations: 351.3 kB / 397 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.0373, allocations: 0.6735 MB / 397.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.03742, allocations: 111.4 kB / 397.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.03763, allocations: 152.3 kB / 397.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004941/0.04257, allocations: 3.376 MB / 401.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.335e-05/0.04262, allocations: 23.81 kB / 401.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.04277, allocations: 71.94 kB / 401.4 MB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008634/0.04363, allocations: 0.6189 MB / 402 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00462/0.04825, allocations: 1.858 MB / 403.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01866/0.06691, allocations: 12.39 MB / 416.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.06708, allocations: 169.1 kB / 416.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.764e-05/0.06715, allocations: 88.14 kB / 416.5 MB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/0.06721, allocations: 75.28 kB / 416.6 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.192e-05/0.0673, allocations: 109.8 kB / 416.7 MB, free: 10.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.0673, allocations: 0 / 416.7 MB, free: 10.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003589/0.06766, allocations: 136.9 kB / 416.8 MB, free: 10.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.06778, allocations: 130.6 kB / 416.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.07058, allocations: 1.442 MB / 418.4 MB, free: 8.883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.0706, allocations: 25.7 kB / 418.4 MB, free: 8.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001687/0.07229, allocations: 1.431 MB / 419.8 MB, free: 7.402 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.07235, allocations: 47.94 kB / 419.9 MB, free: 7.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007397/0.07309, allocations: 415.2 kB / 420.3 MB, free: 6.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002575/0.07335, allocations: 337.9 kB / 420.6 MB, free: 6.605 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008277/0.07418, allocations: 371.8 kB / 421 MB, free: 6.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/0.07727, allocations: 1.933 MB / 422.9 MB, free: 3.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.08159, allocations: 2.511 MB / 425.4 MB, free: 180 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.779e-05/0.08163, allocations: 16 kB / 425.4 MB, free: 164 kB / 394.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005549/0.08718, allocations: 2.217 MB / 427.7 MB, free: 13.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/0.08725, allocations: 32 kB / 427.7 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.082e-05/0.08734, allocations: 56.09 kB / 427.7 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.08748, allocations: 79.94 kB / 427.8 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.08933, allocations: 491.1 kB / 428.3 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001552/0.08949, allocations: 107.6 kB / 428.4 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.09194, allocations: 301.8 kB / 428.7 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/0.0922, allocations: 136 kB / 428.8 MB, free: 12.76 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.00187/0.09407, allocations: 0.8627 MB / 429.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.09443, allocations: 216.2 kB / 429.9 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.09475, allocations: 210.2 kB / 430.1 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001284/0.09488, allocations: 180.2 kB / 430.3 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001267/0.09501, allocations: 180.3 kB / 430.5 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001358/0.09514, allocations: 188.2 kB / 430.6 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.09718, allocations: 0.9694 MB / 431.6 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.064e-05/0.09727, allocations: 104.9 kB / 431.7 MB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.09735, allocations: 109 kB / 431.8 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.09748, allocations: 180.2 kB / 432 MB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.09761, allocations: 184.2 kB / 432.2 MB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001315/0.09774, allocations: 180.3 kB / 432.4 MB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001396/0.09788, allocations: 184.1 kB / 432.5 MB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.09841, allocations: 412.8 kB / 432.9 MB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.09878, allocations: 188.2 kB / 433.1 MB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003292/0.09911, allocations: 188.2 kB / 433.3 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/0.0996, allocations: 104.9 kB / 433.4 MB, free: 8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.09975, allocations: 188.2 kB / 433.6 MB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-05/0.09983, allocations: 104.9 kB / 433.7 MB, free: 7.699 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001961/0.1018, allocations: 0.7968 MB / 434.5 MB, free: 6.898 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1018, allocations: 0 / 434.5 MB, free: 6.898 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002788/0.1046, allocations: 466.3 kB / 434.9 MB, free: 6.441 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.000235/0.1048, allocations: 170.5 kB / 435.1 MB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.1068, allocations: 0.8646 MB / 436 MB, free: 5.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1068, allocations: 0 / 436 MB, free: 5.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/0.1068, allocations: 4 kB / 436 MB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.108, allocations: 0.5397 MB / 436.5 MB, free: 4.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/0.1147, allocations: 2.824 MB / 439.3 MB, free: 1.992 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/0.1169, allocations: 0.9916 MB / 440.3 MB, free: 0.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001668/0.1185, allocations: 465.7 kB / 440.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.1187, allocations: 64.5 kB / 440.9 MB, free: 444 kB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1187, allocations: 0 / 440.9 MB, free: 444 kB / 410.7 MB Notification: Performance of Templates: time 0.01884/0.1375, allocations: 6.085 MB / 446.9 MB, free: 10.48 MB / 426.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/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: 5.219916461035609]