Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.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.001169/0.001169, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.004414/0.004414, allocations: 171.5 kB / 24.91 MB, free: 8.77 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 0.9377/0.9377, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2439/0.2439, allocations: 34.27 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] 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.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.732e-05, allocations: 6.328 kB / 325.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01214/0.01216, allocations: 5.97 MB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005762/0.01792, allocations: 1.998 MB / 333.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.01819, allocations: 27.94 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.01921, allocations: 0.6345 MB / 333.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.02146, allocations: 218.6 kB / 334.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.02163, allocations: 63.73 kB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.02203, allocations: 430.4 kB / 334.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.02238, allocations: 461 kB / 335 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.02268, allocations: 311.1 kB / 335.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.02298, allocations: 251.2 kB / 335.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.02303, allocations: 36 kB / 335.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.02318, allocations: 87.88 kB / 335.7 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.02338, allocations: 275.2 kB / 336 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.02355, allocations: 175.4 kB / 336.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.02407, allocations: 0.5485 MB / 336.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.02407, allocations: 4 kB / 336.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02407, allocations: 0 / 336.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.02408, allocations: 0 / 336.7 MB, free: 12.2 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.0009854/0.02507, allocations: 0.8348 MB / 337.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.0251, allocations: 12.03 kB / 337.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005267/0.02563, allocations: 148.7 kB / 337.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.026, allocations: 331.5 kB / 338 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.02603, allocations: 33.36 kB / 338 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.02609, allocations: 44.36 kB / 338.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.02674, allocations: 0.633 MB / 338.7 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.02676, allocations: 11.88 kB / 338.7 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.0268, allocations: 19.98 kB / 338.7 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002216/0.02702, allocations: 172.5 kB / 338.9 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.02736, allocations: 238.9 kB / 339.1 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.02953, allocations: 3.879 MB / 343 MB, free: 5.539 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.757e-05/0.02956, allocations: 22.56 kB / 343 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.02958, allocations: 20.83 kB / 343.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.02959, allocations: 0 / 343.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.02961, allocations: 30.56 kB / 343.1 MB, free: 5.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.02961, allocations: 3.938 kB / 343.1 MB, free: 5.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001198/0.02973, allocations: 69.75 kB / 343.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.02975, allocations: 51.41 kB / 343.2 MB, free: 5.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.0301, allocations: 0.6087 MB / 343.8 MB, free: 4.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.03011, allocations: 25.7 kB / 343.8 MB, free: 4.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.0303, allocations: 487.7 kB / 344.3 MB, free: 4.168 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.03031, allocations: 23.94 kB / 344.3 MB, free: 4.145 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.03043, allocations: 166.4 kB / 344.5 MB, free: 3.977 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.03053, allocations: 374.6 kB / 344.9 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.03058, allocations: 53.95 kB / 344.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.03087, allocations: 0.6101 MB / 345.5 MB, free: 2.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.03132, allocations: 0.774 MB / 346.3 MB, free: 1.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.03133, allocations: 8 kB / 346.3 MB, free: 1.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004459/0.03177, allocations: 0.5486 MB / 346.9 MB, free: 1.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.03179, allocations: 16 kB / 346.9 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.0318, allocations: 20 kB / 346.9 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.03183, allocations: 24 kB / 346.9 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.03207, allocations: 175.6 kB / 347.1 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.03209, allocations: 39.84 kB / 347.1 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.03233, allocations: 111.6 kB / 347.2 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.03236, allocations: 52 kB / 347.3 MB, free: 0.6055 MB / 314.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 (fixed3.color[1],fixed3.color[2],fixed3.color[3],arrow.color[1],arrow.color[2],arrow.color[3],fixedArrow.color[1],fixedArrow.color[2],fixedArrow.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],arrow.headAtOrigin,arrow.arrow.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.arrowLine.twoHeadedArrow) * 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.0001323/0.03249, allocations: 194.7 kB / 347.5 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.03252, allocations: 23.97 kB / 347.5 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.03257, allocations: 52.8 kB / 347.6 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.03257, allocations: 0 / 347.6 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.03257, allocations: 3.938 kB / 347.6 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.03257, allocations: 0 / 347.6 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.03274, allocations: 209.5 kB / 347.8 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.03274, allocations: 4 kB / 347.8 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.03277, allocations: 8 kB / 347.8 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.03277, allocations: 0 / 347.8 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.03278, allocations: 7.984 kB / 347.8 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.03278, allocations: 0 / 347.8 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.03278, allocations: 0 / 347.8 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.03288, allocations: 163.5 kB / 347.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.03292, allocations: 43.86 kB / 348 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.03295, allocations: 4 kB / 348 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.03302, allocations: 3.984 kB / 348 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.03304, allocations: 7.984 kB / 348 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.03305, allocations: 7.984 kB / 348 MB, free: 15.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.03321, allocations: 244.5 kB / 348.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03321, allocations: 0 / 348.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.03355, allocations: 151.6 kB / 348.4 MB, free: 15.45 MB / 330.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 8.228e-05/0.03364, allocations: 72.42 kB / 348.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.03385, allocations: 267.6 kB / 348.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/0.03387, allocations: 13.81 kB / 348.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.03388, allocations: 12.84 kB / 348.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.03412, allocations: 81.44 kB / 348.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009959/0.03512, allocations: 0.9791 MB / 349.8 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.03524, allocations: 185.2 kB / 350 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.03536, allocations: 72.64 kB / 350.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.03548, allocations: 123.3 kB / 350.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of SimCode: time 5.62e-07/0.03548, allocations: 0 / 350.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of Templates: time 0.006509/0.04199, allocations: 4.205 MB / 354.4 MB, free: 9.469 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 2.997236467897892]