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.0009166/0.0009166, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009061/0.0009061, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9532/0.9532, allocations: 177.1 MB / 205 MB, free: 5.605 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.2539/0.2539, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.343e-06/1.343e-06, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.337e-05, allocations: 2.312 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005165/0.005188, allocations: 6.101 MB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.008277, allocations: 1.947 MB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/0.008688, allocations: 31.88 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.009713, allocations: 0.6501 MB / 386.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.01009, allocations: 214.7 kB / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.0103, allocations: 59.8 kB / 387 MB, free: 9.637 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.0107, allocations: 429.9 kB / 387.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004443/0.01114, allocations: 435 kB / 387.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.01149, allocations: 319.1 kB / 388.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.01182, allocations: 259.3 kB / 388.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.0119, allocations: 43.98 kB / 388.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.01205, allocations: 83.95 kB / 388.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.01224, allocations: 279.2 kB / 388.8 MB, free: 7.824 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.01237, allocations: 179.4 kB / 389 MB, free: 7.648 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005442/0.01292, allocations: 0.5408 MB / 389.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01292, allocations: 0 / 389.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01292, allocations: 0 / 389.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.01293, allocations: 0 / 389.6 MB, free: 7.105 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.001071/0.014, allocations: 1.009 MB / 390.6 MB, free: 6.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.01404, allocations: 8.031 kB / 390.6 MB, free: 6.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/0.01455, allocations: 200.3 kB / 390.8 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.01496, allocations: 378.1 kB / 391.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.01499, allocations: 33.36 kB / 391.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.01503, allocations: 36.36 kB / 391.2 MB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.01606, allocations: 0.7578 MB / 392 MB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.01607, allocations: 7.875 kB / 392 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.01611, allocations: 23.98 kB / 392 MB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002189/0.01633, allocations: 192.4 kB / 392.2 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.01678, allocations: 282.3 kB / 392.5 MB, free: 3.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.0196, allocations: 5.815 MB / 398.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.061e-05/0.01968, allocations: 38.98 kB / 398.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.01971, allocations: 11.69 kB / 398.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.01972, allocations: 0 / 398.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.01974, allocations: 37.33 kB / 398.4 MB, free: 13.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/0.01974, allocations: 0 / 398.4 MB, free: 13.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002021/0.01995, allocations: 101.4 kB / 398.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.01997, allocations: 55.34 kB / 398.5 MB, free: 13.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007913/0.02076, allocations: 0.7528 MB / 399.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.02078, allocations: 29.7 kB / 399.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.02104, allocations: 0.5913 MB / 399.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.02106, allocations: 19.94 kB / 399.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.02121, allocations: 192.1 kB / 400.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.02136, allocations: 0.5586 MB / 400.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/0.02145, allocations: 57.94 kB / 400.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.02186, allocations: 0.8799 MB / 401.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.02254, allocations: 1.037 MB / 402.6 MB, free: 8.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.02255, allocations: 4 kB / 402.6 MB, free: 8.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006983/0.02325, allocations: 0.6768 MB / 403.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.02327, allocations: 12 kB / 403.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.02329, allocations: 28.88 kB / 403.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.02332, allocations: 28 kB / 403.4 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.02363, allocations: 175.7 kB / 403.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.02365, allocations: 35.86 kB / 403.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.02396, allocations: 107.2 kB / 403.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.024, allocations: 59.94 kB / 403.7 MB, free: 7.598 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.0001683/0.02417, allocations: 242.7 kB / 404 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.02422, allocations: 55.62 kB / 404 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.02427, allocations: 44.8 kB / 404.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.02427, allocations: 4 kB / 404.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.02428, allocations: 4 kB / 404.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.02428, allocations: 3.984 kB / 404.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.02465, allocations: 408.4 kB / 404.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02466, allocations: 0 / 404.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.0247, allocations: 15.92 kB / 404.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.0247, allocations: 0 / 404.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.02471, allocations: 4 kB / 404.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.02472, allocations: 0 / 404.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02472, allocations: 192 / 404.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.02488, allocations: 259.4 kB / 404.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.02493, allocations: 47.62 kB / 404.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.02496, allocations: 0 / 404.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.02504, allocations: 7.984 kB / 404.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.0251, allocations: 11.98 kB / 404.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.0251, allocations: 0 / 404.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006084/0.02571, allocations: 407 kB / 405.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.02571, allocations: 0 / 405.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004364/0.02615, allocations: 143.6 kB / 405.4 MB, free: 5.906 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.00014/0.02629, allocations: 99.25 kB / 405.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.02666, allocations: 295.1 kB / 405.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02666, allocations: 0 / 405.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.534e-05/0.02669, allocations: 15.62 kB / 405.8 MB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.02708, allocations: 80.19 kB / 405.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.02867, allocations: 0.9425 MB / 406.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.02882, allocations: 193 kB / 407 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000255/0.02907, allocations: 172.5 kB / 407.1 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.02914, allocations: 40.48 kB / 407.2 MB, free: 4.031 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02914, allocations: 0 / 407.2 MB, free: 4.031 MB / 378.7 MB Notification: Performance of Templates: time 0.00769/0.03683, allocations: 4.216 MB / 411.4 MB, free: 15.9 MB / 394.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: 3.0204774271696806]