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.001135/0.001135, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001219/0.001219, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 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.105/1.105, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.3537/0.3537, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 179] 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.825e-06/2.825e-06, allocations: 0 / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.651e-05/3.933e-05, allocations: 5.266 kB / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01222/0.01226, allocations: 8.209 MB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00612/0.01838, allocations: 2.246 MB / 388.9 MB, free: 7.895 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.01998, allocations: 47.88 kB / 389 MB, free: 7.848 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003083/0.02307, allocations: 1.631 MB / 390.6 MB, free: 6.211 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.02487, allocations: 0.4929 MB / 391.1 MB, free: 5.715 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.02525, allocations: 75.72 kB / 391.2 MB, free: 5.641 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.02726, allocations: 0.9639 MB / 392.2 MB, free: 4.672 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.02868, allocations: 1.225 MB / 393.4 MB, free: 3.422 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.02973, allocations: 0.8028 MB / 394.2 MB, free: 2.617 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000904/0.03063, allocations: 0.6387 MB / 394.8 MB, free: 1.977 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.03082, allocations: 120 kB / 394.9 MB, free: 1.859 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.03111, allocations: 140 kB / 395.1 MB, free: 1.723 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005813/0.03169, allocations: 0.7751 MB / 395.9 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004375/0.03213, allocations: 494.4 kB / 396.3 MB, free: 472 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.03354, allocations: 1.431 MB / 397.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.03355, allocations: 0 / 397.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.03355, allocations: 0 / 397.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.554e-05/0.03358, allocations: 0 / 397.8 MB, free: 15.02 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.002513/0.0361, allocations: 2.109 MB / 399.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.03615, allocations: 8.031 kB / 399.9 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/0.03662, allocations: 351.4 kB / 400.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006925/0.03731, allocations: 0.602 MB / 400.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.03738, allocations: 115.4 kB / 400.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.0375, allocations: 152.3 kB / 401.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.0395, allocations: 2.111 MB / 403.2 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.03953, allocations: 15.81 kB / 403.2 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/0.03962, allocations: 71.94 kB / 403.3 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005209/0.04014, allocations: 0.6227 MB / 403.9 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.04124, allocations: 0.678 MB / 404.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.05469, allocations: 16.48 MB / 421.1 MB, free: 6.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.05481, allocations: 269.4 kB / 421.3 MB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.05485, allocations: 126.9 kB / 421.5 MB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.05489, allocations: 119.2 kB / 421.6 MB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/0.05495, allocations: 156.6 kB / 421.7 MB, free: 5.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.667e-06/0.05496, allocations: 0 / 421.7 MB, free: 5.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002592/0.05521, allocations: 140.9 kB / 421.9 MB, free: 5.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.05529, allocations: 182.5 kB / 422 MB, free: 5.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.05639, allocations: 1.36 MB / 423.4 MB, free: 4.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.05641, allocations: 25.7 kB / 423.4 MB, free: 4.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008362/0.05725, allocations: 1.512 MB / 424.9 MB, free: 2.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.05729, allocations: 51.94 kB / 425 MB, free: 2.648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.05766, allocations: 456.6 kB / 425.4 MB, free: 2.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.05786, allocations: 0.5042 MB / 425.9 MB, free: 1.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.05801, allocations: 128 kB / 426.1 MB, free: 1.551 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.06008, allocations: 2.448 MB / 428.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.06248, allocations: 2.882 MB / 431.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-05/0.06252, allocations: 16 kB / 431.4 MB, free: 9.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002703/0.06522, allocations: 1.713 MB / 433.1 MB, free: 8.273 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.06527, allocations: 32 kB / 433.2 MB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.283e-05/0.06533, allocations: 56 kB / 433.2 MB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005049/0.06583, allocations: 72.78 kB / 433.3 MB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.06667, allocations: 491 kB / 433.8 MB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-05/0.06674, allocations: 115.5 kB / 433.9 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.06812, allocations: 297.8 kB / 434.2 MB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.827e-05/0.06822, allocations: 123.9 kB / 434.3 MB, free: 7.109 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 (fixed.color[1],fixed.color[2],fixed.color[3],box.color[1],box.color[2],box.color[3],sphere.color[1],sphere.color[2],sphere.color[3],cylinder.color[1],cylinder.color[2],cylinder.color[3],pipe.color[1],pipe.color[2],pipe.color[3],beam.color[1],beam.color[2],beam.color[3],gearwheel.color[1],gearwheel.color[2],gearwheel.color[3],spring.color[1],spring.color[2],spring.color[3],cone.color[1],cone.color[2],cone.color[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3]) * 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.0008493/0.06907, allocations: 482.4 kB / 434.8 MB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.06926, allocations: 252.1 kB / 435 MB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.06942, allocations: 246.1 kB / 435.2 MB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.975e-05/0.06952, allocations: 272.1 kB / 435.5 MB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.413e-05/0.06961, allocations: 276 kB / 435.8 MB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.464e-05/0.06971, allocations: 264.1 kB / 436 MB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.0711, allocations: 0.9594 MB / 437 MB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.187e-05/0.07116, allocations: 152.8 kB / 437.1 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.07122, allocations: 144.9 kB / 437.3 MB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.07133, allocations: 272 kB / 437.6 MB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.305e-05/0.07143, allocations: 264.1 kB / 437.8 MB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.533e-05/0.07152, allocations: 268.1 kB / 438.1 MB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-05/0.07162, allocations: 272 kB / 438.3 MB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.07189, allocations: 0.5449 MB / 438.9 MB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.07205, allocations: 240.2 kB / 439.1 MB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.07219, allocations: 272.1 kB / 439.4 MB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.07237, allocations: 148.8 kB / 439.5 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/0.07246, allocations: 268.1 kB / 439.8 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.07252, allocations: 152.8 kB / 439.9 MB, free: 1.258 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005187/0.07304, allocations: 0.574 MB / 440.5 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.07304, allocations: 0 / 440.5 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002297/0.07533, allocations: 462.3 kB / 441 MB, free: 232 kB / 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.0003146/0.07565, allocations: 226.4 kB / 441.2 MB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.07674, allocations: 0.7285 MB / 441.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.07675, allocations: 4 kB / 441.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.3e-06/0.07675, allocations: 0 / 441.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.07749, allocations: 0.7902 MB / 442.7 MB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/0.08139, allocations: 2.587 MB / 445.3 MB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.08178, allocations: 463.5 kB / 445.7 MB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003832/0.08216, allocations: 158.2 kB / 445.9 MB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.08234, allocations: 198.2 kB / 446.1 MB, free: 11 MB / 426.7 MB Notification: Performance of SimCode: time 3.216e-06/0.08235, allocations: 0 / 446.1 MB, free: 11 MB / 426.7 MB Notification: Performance of Templates: time 0.01733/0.09968, allocations: 6.508 MB / 452.6 MB, free: 4.543 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] 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","",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.976687618996948]