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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 108.3 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 44.17 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 64.06 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1283, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.03055/0.1589, allocations: 20.36 MB / 488.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01573/0.1747, allocations: 4.226 MB / 493.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006127/0.1808, allocations: 79.81 kB / 493.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.1834, allocations: 0.5999 MB / 493.8 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.1848, allocations: 191 kB / 494 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.1852, allocations: 43.94 kB / 494 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.1868, allocations: 0.6969 MB / 494.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.188, allocations: 0.5286 MB / 495.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.1887, allocations: 211.1 kB / 495.4 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007935/0.1895, allocations: 330.7 kB / 495.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.1897, allocations: 36 kB / 495.8 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.1902, allocations: 79.88 kB / 495.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005147/0.1907, allocations: 287.2 kB / 496.2 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007496/0.1915, allocations: 337.8 kB / 496.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.1929, allocations: 0.8797 MB / 497.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.1929, allocations: 4 kB / 497.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.193, allocations: 0 / 497.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.207e-05/0.193, allocations: 0 / 497.4 MB, free: 1.875 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002899/0.1959, allocations: 0.9969 MB / 498.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.196, allocations: 8.031 kB / 498.4 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000641/0.1966, allocations: 139.7 kB / 498.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007654/0.1974, allocations: 453.5 kB / 499 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.1974, allocations: 29.36 kB / 499 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1976, allocations: 52.09 kB / 499 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.2001, allocations: 1.245 MB / 0.4886 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.2002, allocations: 3.938 kB / 0.4886 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.088e-05/0.2003, allocations: 19.98 kB / 0.4886 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005708/0.2009, allocations: 248.8 kB / 0.4888 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.203, allocations: 0.7999 MB / 0.4896 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00697/0.21, allocations: 5.077 MB / 0.4946 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.2103, allocations: 62.5 kB / 0.4946 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.2105, allocations: 48.91 kB / 0.4947 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.2105, allocations: 0 / 0.4947 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.2106, allocations: 30.56 kB / 0.4947 GB, free: 8.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.745e-06/0.2106, allocations: 4 kB / 0.4947 GB, free: 8.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007608/0.2114, allocations: 208.8 kB / 0.4949 GB, free: 8.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.2114, allocations: 59.34 kB / 0.495 GB, free: 7.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.213, allocations: 0.8593 MB / 0.4958 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.2131, allocations: 25.7 kB / 0.4958 GB, free: 7.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/0.2137, allocations: 0.536 MB / 0.4963 GB, free: 6.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.2137, allocations: 23.89 kB / 0.4964 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/0.2141, allocations: 174.4 kB / 0.4965 GB, free: 6.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000292/0.2144, allocations: 374.8 kB / 0.4969 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/0.2149, allocations: 181.8 kB / 0.4971 GB, free: 5.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.216, allocations: 0.7312 MB / 0.4978 GB, free: 4.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.2177, allocations: 0.982 MB / 0.4987 GB, free: 3.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.2177, allocations: 8 kB / 0.4987 GB, free: 3.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002222/0.22, allocations: 0.8753 MB / 0.4996 GB, free: 2.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.22, allocations: 16.94 kB / 0.4996 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/0.2201, allocations: 24 kB / 0.4996 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-05/0.2202, allocations: 28 kB / 0.4997 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/0.221, allocations: 175.7 kB / 0.4998 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-05/0.2211, allocations: 39.86 kB / 0.4999 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/0.2217, allocations: 118.8 kB / 0.5 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.2218, allocations: 52 kB / 0.5 GB, free: 2.156 MB / 382.1 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.arrowLine.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.0007837/0.2226, allocations: 387.8 kB / 0.5004 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.2228, allocations: 67.16 kB / 0.5005 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.2229, allocations: 65.45 kB / 0.5005 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.223, allocations: 0 / 0.5005 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.223, allocations: 3.984 kB / 0.5005 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.223, allocations: 0 / 0.5005 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.2241, allocations: 0.5519 MB / 0.5011 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2241, allocations: 0 / 0.5011 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.2243, allocations: 11.98 kB / 0.5011 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2243, allocations: 0 / 0.5011 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2243, allocations: 7.938 kB / 0.5011 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2243, allocations: 0 / 0.5011 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2243, allocations: 4 kB / 0.5011 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.2249, allocations: 278.6 kB / 0.5014 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.2251, allocations: 132.3 kB / 0.5015 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.2252, allocations: 0 / 0.5015 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.2255, allocations: 7.984 kB / 0.5015 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.2256, allocations: 11.98 kB / 0.5015 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2256, allocations: 7.984 kB / 0.5015 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.3006/0.5262, allocations: 0.5492 MB / 0.502 GB, free: 51.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5262, allocations: 0 / 0.502 GB, free: 51.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001193/0.5274, allocations: 150.2 kB / 0.5022 GB, free: 51.96 MB / 382.1 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.0001729/0.5276, allocations: 94.94 kB / 0.5023 GB, free: 51.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009728/0.5286, allocations: 418.8 kB / 0.5027 GB, free: 51.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5286, allocations: 0 / 0.5027 GB, free: 51.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.5287, allocations: 49.84 kB / 0.5027 GB, free: 51.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007522/0.5295, allocations: 96.28 kB / 0.5028 GB, free: 51.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.5318, allocations: 1.448 MB / 0.5042 GB, free: 51.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009379/0.5328, allocations: 1.027 MB / 0.5052 GB, free: 50.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007003/0.5335, allocations: 213.8 kB / 0.5054 GB, free: 50.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.5336, allocations: 41.81 kB / 0.5055 GB, free: 50.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.633e-06/0.5336, allocations: 0 / 0.5055 GB, free: 50.39 MB / 382.1 MB Notification: Performance of Templates: time 0.01383/0.5475, allocations: 4.504 MB / 0.5099 GB, free: 50.11 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches