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.001381/0.001381, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001008/0.001008, allocations: 161.5 kB / 24.91 MB, free: 8.762 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 0.9396/0.9396, allocations: 177 MB / 205.2 MB, free: 5.02 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.2527/0.2527, allocations: 34.87 MB / 296.6 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] 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 1.413e-06/1.413e-06, allocations: 0 / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.546e-05, allocations: 5.172 kB / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01514/0.01517, allocations: 8.222 MB / 334.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009408/0.02458, allocations: 2.328 MB / 336.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007705/0.02535, allocations: 47.88 kB / 336.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.02753, allocations: 1.651 MB / 338.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008554/0.02838, allocations: 0.4929 MB / 338.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.0286, allocations: 75.7 kB / 338.7 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008498/0.02945, allocations: 0.9523 MB / 339.7 MB, free: 9.355 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.03056, allocations: 1.272 MB / 340.9 MB, free: 8.047 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006982/0.03126, allocations: 0.8028 MB / 341.7 MB, free: 7.242 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007003/0.03196, allocations: 0.6037 MB / 342.3 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.0321, allocations: 116 kB / 342.4 MB, free: 6.523 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.03232, allocations: 147.8 kB / 342.6 MB, free: 6.379 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005415/0.03286, allocations: 0.7751 MB / 343.4 MB, free: 5.602 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.03329, allocations: 494.4 kB / 343.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.03457, allocations: 1.431 MB / 345.3 MB, free: 3.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.03457, allocations: 4 kB / 345.3 MB, free: 3.676 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.03457, allocations: 0 / 345.3 MB, free: 3.676 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.03459, allocations: 0 / 345.3 MB, free: 3.676 MB / 314.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.001786/0.03638, allocations: 1.849 MB / 347.1 MB, free: 1.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.03641, allocations: 8.031 kB / 347.1 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004093/0.03682, allocations: 236.7 kB / 347.4 MB, free: 1.555 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006455/0.03746, allocations: 0.5524 MB / 347.9 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/0.03755, allocations: 119.3 kB / 348 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.0377, allocations: 156.3 kB / 348.2 MB, free: 0.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.03947, allocations: 1.876 MB / 350.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.03951, allocations: 23.75 kB / 350.1 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.985e-05/0.03961, allocations: 71.94 kB / 350.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006213/0.04023, allocations: 0.615 MB / 350.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009307/0.04116, allocations: 0.6718 MB / 351.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006566/0.04773, allocations: 11.45 MB / 362.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.04779, allocations: 169.2 kB / 363.1 MB, free: 1.062 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.04781, allocations: 80.14 kB / 363.1 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.04782, allocations: 79.28 kB / 363.2 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.04785, allocations: 105.8 kB / 363.3 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.04785, allocations: 0 / 363.3 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 9.371e-05/0.04795, allocations: 85.56 kB / 363.4 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.048, allocations: 130.7 kB / 363.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009233/0.04892, allocations: 1.154 MB / 364.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.04894, allocations: 33.69 kB / 364.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006936/0.04963, allocations: 1.397 MB / 366.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.04966, allocations: 43.95 kB / 366.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/0.05, allocations: 407 kB / 366.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.0501, allocations: 341.9 kB / 366.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.05026, allocations: 132 kB / 367 MB, free: 13.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.05131, allocations: 1.71 MB / 368.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.0526, allocations: 2.174 MB / 370.9 MB, free: 7.516 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.05262, allocations: 20 kB / 370.9 MB, free: 7.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001259/0.05388, allocations: 1.471 MB / 372.4 MB, free: 6.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.05392, allocations: 32 kB / 372.4 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/0.05396, allocations: 56 kB / 372.5 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-05/0.05401, allocations: 72 kB / 372.6 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.05465, allocations: 491 kB / 373 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.232e-05/0.0547, allocations: 119.4 kB / 373.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/0.05536, allocations: 294.4 kB / 373.4 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/0.05544, allocations: 124 kB / 373.6 MB, free: 4.855 MB / 346.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.0002975/0.05573, allocations: 398.6 kB / 374 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.05581, allocations: 160.8 kB / 374.1 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.05591, allocations: 186.3 kB / 374.3 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/0.05595, allocations: 184.3 kB / 374.5 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-05/0.05599, allocations: 180.2 kB / 374.6 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.691e-05/0.05604, allocations: 184.2 kB / 374.8 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.05649, allocations: 0.6805 MB / 375.5 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/0.05652, allocations: 105 kB / 375.6 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.05654, allocations: 101 kB / 375.7 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-05/0.05658, allocations: 180.2 kB / 375.9 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.05663, allocations: 184.3 kB / 376.1 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.305e-05/0.05667, allocations: 184.2 kB / 376.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.111e-05/0.05671, allocations: 180.3 kB / 376.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.05684, allocations: 365.6 kB / 376.8 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.401e-05/0.05693, allocations: 184.3 kB / 377 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/0.05702, allocations: 188.2 kB / 377.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.05714, allocations: 113 kB / 377.3 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.05718, allocations: 184.2 kB / 377.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.0572, allocations: 101 kB / 377.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003231/0.05753, allocations: 439.3 kB / 378 MB, free: 280 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.05753, allocations: 0 / 378 MB, free: 280 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008667/0.05839, allocations: 458.5 kB / 378.4 MB, free: 15.82 MB / 362.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.0001092/0.0585, allocations: 155.5 kB / 378.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005481/0.05905, allocations: 0.7111 MB / 379.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.758e-05/0.05911, allocations: 43.94 kB / 379.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.05911, allocations: 3.938 kB / 379.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.05948, allocations: 0.5303 MB / 379.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.06192, allocations: 2.648 MB / 382.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.06224, allocations: 463.5 kB / 382.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002824/0.06252, allocations: 150.2 kB / 383.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.06265, allocations: 175.3 kB / 383.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.06265, allocations: 0 / 383.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of Templates: time 0.01187/0.07452, allocations: 6.495 MB / 389.8 MB, free: 4.469 MB / 362.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: 2.948997827246785]