Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0009311/0.0009311, allocations: 83.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001373/0.001373, allocations: 158.8 kB / 24.99 MB, free: 8.844 MB / 18.57 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.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3806/0.3806, allocations: 34.86 MB / 296.6 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.429e-05/3.646e-05, allocations: 10.31 kB / 378.7 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008031/0.008068, allocations: 8.381 MB / 387.1 MB, free: 9.984 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004761/0.01283, allocations: 2.262 MB / 389.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007804/0.01361, allocations: 47.88 kB / 389.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.01564, allocations: 1.643 MB / 391.1 MB, free: 6.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007897/0.01643, allocations: 0.4928 MB / 391.6 MB, free: 5.523 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.0167, allocations: 83.7 kB / 391.6 MB, free: 5.441 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007819/0.01748, allocations: 0.9523 MB / 392.6 MB, free: 4.484 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.01851, allocations: 1.225 MB / 393.8 MB, free: 3.234 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006345/0.01914, allocations: 0.8028 MB / 394.6 MB, free: 2.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007017/0.01984, allocations: 0.6465 MB / 395.3 MB, free: 1.781 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.01996, allocations: 116 kB / 395.4 MB, free: 1.668 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.02018, allocations: 147.9 kB / 395.5 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004777/0.02066, allocations: 0.7752 MB / 396.3 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.02106, allocations: 0.4906 MB / 396.8 MB, free: 260 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.02236, allocations: 1.427 MB / 398.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.02237, allocations: 4 kB / 398.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02237, allocations: 0 / 398.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.02239, allocations: 0 / 398.2 MB, free: 14.82 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.001973/0.02437, allocations: 2.082 MB / 400.3 MB, free: 12.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.02442, allocations: 8.031 kB / 400.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.02492, allocations: 347.4 kB / 400.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.02566, allocations: 0.6372 MB / 401.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.02574, allocations: 115.4 kB / 401.4 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.02587, allocations: 152.3 kB / 401.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.028, allocations: 2.237 MB / 403.8 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.125e-05/0.02804, allocations: 15.81 kB / 403.8 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.702e-05/0.02812, allocations: 75.94 kB / 403.9 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005235/0.02865, allocations: 0.615 MB / 404.5 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.0298, allocations: 0.8319 MB / 405.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007809/0.03761, allocations: 16.82 MB / 422.1 MB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.03771, allocations: 269.4 kB / 422.4 MB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.03775, allocations: 126.9 kB / 422.5 MB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.03778, allocations: 119.2 kB / 422.6 MB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.03783, allocations: 156.6 kB / 422.8 MB, free: 5.137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.03783, allocations: 0 / 422.8 MB, free: 5.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001421/0.03797, allocations: 140.9 kB / 422.9 MB, free: 4.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.03804, allocations: 174.6 kB / 423.1 MB, free: 4.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.03907, allocations: 1.357 MB / 424.5 MB, free: 3.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.03909, allocations: 29.64 kB / 424.5 MB, free: 3.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007463/0.03983, allocations: 1.516 MB / 426 MB, free: 1.871 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.03986, allocations: 43.95 kB / 426.1 MB, free: 1.828 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/0.04029, allocations: 452.8 kB / 426.5 MB, free: 1.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.0405, allocations: 0.5004 MB / 427 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.04073, allocations: 160 kB / 427.2 MB, free: 0.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.04215, allocations: 2.475 MB / 429.6 MB, free: 13.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.04394, allocations: 2.898 MB / 432.5 MB, free: 9.121 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/0.04396, allocations: 20 kB / 432.5 MB, free: 9.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00175/0.04571, allocations: 1.807 MB / 434.4 MB, free: 7.289 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.04574, allocations: 28 kB / 434.4 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.42e-05/0.04579, allocations: 60 kB / 434.4 MB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.893e-05/0.04585, allocations: 75.94 kB / 434.5 MB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.04655, allocations: 487 kB / 435 MB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.163e-05/0.04661, allocations: 111.6 kB / 435.1 MB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00073/0.04734, allocations: 293.8 kB / 435.4 MB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/0.04743, allocations: 140.4 kB / 435.5 MB, free: 6.117 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.0003486/0.04778, allocations: 486.4 kB / 436 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.04791, allocations: 260.1 kB / 436.3 MB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.04803, allocations: 238.1 kB / 436.5 MB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.829e-05/0.04811, allocations: 272 kB / 436.7 MB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.889e-05/0.04819, allocations: 264.1 kB / 437 MB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.457e-05/0.04826, allocations: 272 kB / 437.3 MB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009789/0.04924, allocations: 1.301 MB / 438.6 MB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.127e-05/0.0493, allocations: 156.8 kB / 438.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.04934, allocations: 144.9 kB / 438.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-05/0.04941, allocations: 268.1 kB / 439.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.913e-05/0.04949, allocations: 272 kB / 439.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.008e-05/0.04956, allocations: 268.1 kB / 439.7 MB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.002e-05/0.04964, allocations: 272 kB / 439.9 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.04984, allocations: 0.5372 MB / 440.5 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.04996, allocations: 236.1 kB / 440.7 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.05007, allocations: 264.1 kB / 440.9 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.05023, allocations: 160.8 kB / 441.1 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.05032, allocations: 272 kB / 441.4 MB, free: 68 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.05037, allocations: 144.9 kB / 441.5 MB, free: 15.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005327/0.0509, allocations: 0.621 MB / 442.1 MB, free: 15.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0509, allocations: 0 / 442.1 MB, free: 15.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009593/0.05186, allocations: 454.4 kB / 442.6 MB, free: 14.85 MB / 426.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.0001745/0.05203, allocations: 214.4 kB / 442.8 MB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007335/0.05277, allocations: 0.7689 MB / 443.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.05277, allocations: 0 / 443.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.297e-06/0.05277, allocations: 4.297 kB / 443.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.05337, allocations: 0.785 MB / 444.3 MB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.056, allocations: 2.599 MB / 446.9 MB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.05635, allocations: 459.5 kB / 447.4 MB, free: 9.941 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005863/0.05693, allocations: 421.7 kB / 447.8 MB, free: 9.527 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.057, allocations: 64.5 kB / 447.9 MB, free: 9.461 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.057, allocations: 4 kB / 447.9 MB, free: 9.457 MB / 426.7 MB Notification: Performance of Templates: time 0.01106/0.06806, allocations: 6.036 MB / 453.9 MB, free: 3.555 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8322832689154893]