Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00175/0.00175, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003003/0.004753, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001958/0.001958, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002516/0.004474, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.102/1.102, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1254/1.227, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3443/0.3443, allocations: 32.81 MB / 276.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04161/0.3859, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 290.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.058e-05, allocations: 3.078 kB / 290.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01006/0.01009, allocations: 6.064 MB / 296.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005052/0.01514, allocations: 2.012 MB / 298.7 MB, free: 228 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009867/0.01613, allocations: 27.94 kB / 298.7 MB, free: 200 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.01733, allocations: 0.6189 MB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000615/0.01795, allocations: 206.6 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.01828, allocations: 63.78 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005077/0.01879, allocations: 429.9 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.01939, allocations: 433.8 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.01991, allocations: 372.4 kB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.0203, allocations: 243.2 kB / 301 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.02037, allocations: 40 kB / 301.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.02061, allocations: 95.81 kB / 301.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.02082, allocations: 243.3 kB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.02097, allocations: 151.5 kB / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.02162, allocations: 0.5057 MB / 302 MB, free: 12.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.985e-05/0.02164, allocations: 4 kB / 302 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.02165, allocations: 0 / 302 MB, free: 12.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.561e-05/0.02167, allocations: 3.938 kB / 302.1 MB, free: 12.82 MB / 298.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.001258/0.02293, allocations: 0.9666 MB / 303 MB, free: 11.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.02298, allocations: 12.03 kB / 303 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005738/0.02355, allocations: 225.9 kB / 303.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.02398, allocations: 327.5 kB / 303.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.02401, allocations: 33.36 kB / 303.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.02405, allocations: 40.36 kB / 303.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/0.02473, allocations: 0.6375 MB / 304.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.02475, allocations: 11.88 kB / 304.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.02478, allocations: 19.98 kB / 304.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002051/0.02499, allocations: 168.5 kB / 304.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.0253, allocations: 238.8 kB / 304.7 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/0.02789, allocations: 3.899 MB / 308.6 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.068e-05/0.02796, allocations: 14.58 kB / 308.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.02798, allocations: 8.859 kB / 308.6 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.028, allocations: 0 / 308.6 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.02803, allocations: 34.56 kB / 308.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.02803, allocations: 0 / 308.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002228/0.02826, allocations: 65.69 kB / 308.7 MB, free: 5.773 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.0283, allocations: 55.39 kB / 308.8 MB, free: 5.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004638/0.02877, allocations: 0.6125 MB / 309.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.02879, allocations: 25.7 kB / 309.4 MB, free: 5.055 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.02908, allocations: 491.7 kB / 309.9 MB, free: 4.566 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.0291, allocations: 31.86 kB / 309.9 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.02924, allocations: 166.4 kB / 310.1 MB, free: 4.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.02938, allocations: 374.6 kB / 310.5 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.504e-05/0.02944, allocations: 45.97 kB / 310.5 MB, free: 3.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.02985, allocations: 0.614 MB / 311.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005883/0.03044, allocations: 0.77 MB / 311.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.03045, allocations: 8 kB / 311.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0005575/0.03101, allocations: 0.549 MB / 312.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.03104, allocations: 12 kB / 312.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.03106, allocations: 20 kB / 312.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/0.03109, allocations: 32.03 kB / 312.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.03144, allocations: 191.7 kB / 312.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.647e-05/0.03147, allocations: 39.8 kB / 312.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.0318, allocations: 107.2 kB / 312.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.03184, allocations: 44 kB / 312.9 MB, free: 0.9883 MB / 298.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.0002192/0.03206, allocations: 194.8 kB / 313.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.0321, allocations: 23.97 kB / 313.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.03218, allocations: 52.78 kB / 313.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.03218, allocations: 8 kB / 313.2 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.03218, allocations: 4 kB / 313.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.03219, allocations: 0 / 313.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.03246, allocations: 205.6 kB / 313.4 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.03247, allocations: 0 / 313.4 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.238e-05/0.03254, allocations: 11.98 kB / 313.4 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.03258, allocations: 43.62 kB / 313.4 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.03259, allocations: 4.125 kB / 313.4 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.03259, allocations: 3.984 kB / 313.4 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.0326, allocations: 3.938 kB / 313.4 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.0326, allocations: 8 kB / 313.4 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.03275, allocations: 159.4 kB / 313.6 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.03279, allocations: 8 kB / 313.6 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.03288, allocations: 3.984 kB / 313.6 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.03293, allocations: 4 kB / 313.6 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.03293, allocations: 0 / 313.6 MB, free: 220 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002162/0.03315, allocations: 240.7 kB / 313.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03315, allocations: 0 / 313.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004291/0.03358, allocations: 147.6 kB / 314 MB, free: 15.84 MB / 314.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.0001823/0.03376, allocations: 80.41 kB / 314.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.03406, allocations: 263.7 kB / 314.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.053e-05/0.03409, allocations: 17.81 kB / 314.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/0.03412, allocations: 17.66 kB / 314.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.03451, allocations: 129.4 kB / 314.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.03679, allocations: 0.9864 MB / 315.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.03699, allocations: 189.2 kB / 315.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.03716, allocations: 60.72 kB / 315.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.03731, allocations: 127.3 kB / 315.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of SimCode: time 2.424e-06/0.03731, allocations: 4 kB / 315.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of Templates: time 0.00913/0.04644, allocations: 4.292 MB / 320.1 MB, free: 9.723 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2310326024889946]