Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.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.0009478/0.0009478, allocations: 91.61 kB / 21.19 MB, free: 3.383 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.0009353/0.0009353, allocations: 160.5 kB / 24.56 MB, free: 24 kB / 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.9499/0.9499, allocations: 177 MB / 204.8 MB, free: 5.195 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.2988/0.2988, allocations: 34.85 MB / 296.3 MB, free: 492 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.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.093e-05, allocations: 6.312 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007349/0.00738, allocations: 6.114 MB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.01036, allocations: 1.947 MB / 386.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004808/0.01084, allocations: 27.94 kB / 386.8 MB, free: 9.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.01191, allocations: 0.6579 MB / 387.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.01231, allocations: 214.7 kB / 387.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.01252, allocations: 55.8 kB / 387.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.01298, allocations: 437.8 kB / 388.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.01344, allocations: 431 kB / 388.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/0.01381, allocations: 319.1 kB / 388.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.01418, allocations: 267.2 kB / 389.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.01423, allocations: 40 kB / 389.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.01438, allocations: 79.94 kB / 389.3 MB, free: 7.512 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.01457, allocations: 279.2 kB / 389.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.01472, allocations: 175.4 kB / 389.7 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005702/0.01529, allocations: 0.5485 MB / 390.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.0153, allocations: 0 / 390.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.0153, allocations: 0 / 390.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.01531, allocations: 0 / 390.3 MB, free: 6.516 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001076/0.01639, allocations: 1.013 MB / 391.3 MB, free: 5.465 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.01643, allocations: 8.031 kB / 391.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005247/0.01695, allocations: 196.3 kB / 391.5 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.01744, allocations: 378.1 kB / 391.9 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.01746, allocations: 37.36 kB / 391.9 MB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.0175, allocations: 40.36 kB / 391.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/0.01824, allocations: 0.7461 MB / 392.7 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.01825, allocations: 11.88 kB / 392.7 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.01829, allocations: 19.98 kB / 392.7 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.0185, allocations: 196.4 kB / 392.9 MB, free: 3.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.01892, allocations: 277.2 kB / 393.2 MB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.0217, allocations: 5.815 MB / 399 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.02177, allocations: 34.98 kB / 399 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.02179, allocations: 7.688 kB / 399 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.0218, allocations: 4 kB / 399 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.02183, allocations: 37.39 kB / 399.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.445e-06/0.02183, allocations: 0 / 399.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002241/0.02205, allocations: 93.41 kB / 399.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.02208, allocations: 63.34 kB / 399.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/0.02266, allocations: 0.7528 MB / 400 MB, free: 12.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.02267, allocations: 25.7 kB / 400 MB, free: 12.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.02295, allocations: 0.5912 MB / 400.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.02297, allocations: 23.94 kB / 400.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.02313, allocations: 184.1 kB / 400.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.02332, allocations: 0.5586 MB / 401.4 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.02343, allocations: 69.94 kB / 401.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.02392, allocations: 0.876 MB / 402.3 MB, free: 9.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/0.0246, allocations: 1.041 MB / 403.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.02461, allocations: 4 kB / 403.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006891/0.0253, allocations: 0.6736 MB / 404 MB, free: 7.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.02532, allocations: 12 kB / 404 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.02534, allocations: 24.12 kB / 404.1 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.02537, allocations: 31.94 kB / 404.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.02565, allocations: 171.7 kB / 404.3 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.358e-05/0.02568, allocations: 43.84 kB / 404.3 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.02597, allocations: 107.2 kB / 404.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.026, allocations: 51.94 kB / 404.5 MB, free: 7.023 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.twoHeadedArrow,arrow.headAtOrigin,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],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0001589/0.02616, allocations: 238.9 kB / 404.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.02621, allocations: 59.61 kB / 404.7 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.02627, allocations: 52.8 kB / 404.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.02627, allocations: 0 / 404.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.02627, allocations: 0 / 404.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.02628, allocations: 4 kB / 404.8 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.02664, allocations: 412.3 kB / 405.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.02664, allocations: 4 kB / 405.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.02668, allocations: 7.984 kB / 405.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.02668, allocations: 0 / 405.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.02669, allocations: 0 / 405.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.02669, allocations: 4 kB / 405.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.0267, allocations: 4 kB / 405.2 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.02684, allocations: 251.4 kB / 405.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.02689, allocations: 51.61 kB / 405.5 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.02692, allocations: 4 kB / 405.5 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.027, allocations: 0 / 405.5 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.02705, allocations: 15.97 kB / 405.5 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.02705, allocations: 0 / 405.5 MB, free: 5.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002718/0.02732, allocations: 403 kB / 405.9 MB, free: 5.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02732, allocations: 0 / 405.9 MB, free: 5.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004193/0.02774, allocations: 151.6 kB / 406.1 MB, free: 5.328 MB / 378.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 (3): * Single equations (assignments): 3 * 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.0001132/0.02786, allocations: 99.25 kB / 406.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003183/0.02817, allocations: 291.4 kB / 406.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02818, allocations: 0 / 406.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.635e-05/0.0282, allocations: 19.61 kB / 406.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.02856, allocations: 84.44 kB / 406.6 MB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.02984, allocations: 0.9386 MB / 407.5 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.02996, allocations: 189 kB / 407.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002395/0.0302, allocations: 176.6 kB / 407.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.03025, allocations: 36.5 kB / 407.9 MB, free: 3.453 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.03026, allocations: 4 kB / 407.9 MB, free: 3.449 MB / 378.7 MB Notification: Performance of Templates: time 0.007278/0.03753, allocations: 4.201 MB / 412.1 MB, free: 15.33 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.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.197676877025515]