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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001564/0.001564, allocations: 194 kB / 18.12 MB, free: 5.363 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.396/1.396, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2123/0.2123, allocations: 44.17 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 59.28 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1304, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.02097/0.1514, allocations: 20.35 MB / 489 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.1624, allocations: 4.238 MB / 493.2 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004313/0.1667, allocations: 79.88 kB / 493.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.1687, allocations: 0.5999 MB / 493.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007349/0.1695, allocations: 199.1 kB / 494.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1698, allocations: 47.89 kB / 494.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009466/0.1708, allocations: 0.6969 MB / 494.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009265/0.1717, allocations: 0.5091 MB / 495.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.1723, allocations: 215.1 kB / 495.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.1729, allocations: 326.8 kB / 495.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.1731, allocations: 35.94 kB / 495.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.1734, allocations: 83.92 kB / 496 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.1737, allocations: 279.2 kB / 496.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004723/0.1742, allocations: 345.7 kB / 496.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009932/0.1752, allocations: 0.8758 MB / 497.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1753, allocations: 3.938 kB / 497.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1753, allocations: 0 / 497.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.804e-05/0.1753, allocations: 0 / 497.5 MB, free: 1.773 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.001968/0.1773, allocations: 0.9969 MB / 498.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1773, allocations: 8.031 kB / 498.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.1775, allocations: 127.3 kB / 498.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006203/0.1782, allocations: 135.7 kB / 498.7 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/0.179, allocations: 449.5 kB / 499.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.179, allocations: 41.36 kB / 499.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.1791, allocations: 47.92 kB / 499.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.1808, allocations: 1.237 MB / 0.4888 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1808, allocations: 7.938 kB / 0.4888 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.1809, allocations: 19.98 kB / 0.4888 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004006/0.1813, allocations: 252.7 kB / 0.489 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.1827, allocations: 0.8037 MB / 0.4898 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004679/0.1874, allocations: 5.066 MB / 0.4948 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1876, allocations: 62.47 kB / 0.4948 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1877, allocations: 44.91 kB / 0.4949 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1877, allocations: 4 kB / 0.4949 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1878, allocations: 42.48 kB / 0.4949 GB, free: 8.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.1878, allocations: 0 / 0.4949 GB, free: 8.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005289/0.1883, allocations: 208.8 kB / 0.4951 GB, free: 7.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1884, allocations: 55.41 kB / 0.4952 GB, free: 7.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.1894, allocations: 0.8632 MB / 0.496 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1895, allocations: 25.7 kB / 0.496 GB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/0.1899, allocations: 0.536 MB / 0.4966 GB, free: 6.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1899, allocations: 19.89 kB / 0.4966 GB, free: 6.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.1901, allocations: 178.3 kB / 0.4967 GB, free: 6.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1903, allocations: 374.8 kB / 0.4971 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.1906, allocations: 181.9 kB / 0.4973 GB, free: 5.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/0.1912, allocations: 0.7389 MB / 0.498 GB, free: 4.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.1923, allocations: 0.9704 MB / 0.4989 GB, free: 3.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/0.1924, allocations: 11.94 kB / 0.499 GB, free: 3.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001364/0.1937, allocations: 0.872 MB / 0.4998 GB, free: 2.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.1938, allocations: 19.98 kB / 0.4998 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.1938, allocations: 20 kB / 0.4998 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.197e-05/0.1938, allocations: 24 kB / 0.4999 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.1943, allocations: 179.6 kB / 0.5 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.172e-05/0.1944, allocations: 36.42 kB / 0.5001 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.195, allocations: 122.8 kB / 0.5002 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.195, allocations: 48 kB / 0.5002 GB, free: 1.93 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.0004854/0.1955, allocations: 395.8 kB / 0.5006 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1956, allocations: 63.09 kB / 0.5007 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.1958, allocations: 69.44 kB / 0.5007 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1958, allocations: 0 / 0.5007 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1958, allocations: 0 / 0.5007 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1958, allocations: 4 kB / 0.5007 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006477/0.1964, allocations: 0.5481 MB / 0.5013 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.1965, allocations: 11.98 kB / 0.5013 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.1966, allocations: 15.92 kB / 0.5013 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1966, allocations: 0 / 0.5013 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1966, allocations: 0 / 0.5013 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1966, allocations: 0 / 0.5013 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1966, allocations: 0 / 0.5013 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.197, allocations: 270.6 kB / 0.5016 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.1971, allocations: 136.2 kB / 0.5017 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.1972, allocations: 4 kB / 0.5017 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.1974, allocations: 15.92 kB / 0.5017 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.1975, allocations: 7.984 kB / 0.5017 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.1975, allocations: 0 / 0.5017 GB, free: 316 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2019/0.3993, allocations: 0.5491 MB / 0.5023 GB, free: 51.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3994, allocations: 0.6562 kB / 0.5023 GB, free: 51.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001045/0.4004, allocations: 151.3 kB / 0.5024 GB, free: 51.77 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.0006284/0.4011, allocations: 0.8105 MB / 0.5032 GB, free: 51.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008139/0.4019, allocations: 416.1 kB / 0.5036 GB, free: 51.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4019, allocations: 0 / 0.5036 GB, free: 51.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.402, allocations: 53.59 kB / 0.5036 GB, free: 51.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/0.4026, allocations: 97.22 kB / 0.5037 GB, free: 51.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/0.4105, allocations: 6.727 MB / 0.5103 GB, free: 46.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.4111, allocations: 1.026 MB / 0.5113 GB, free: 46.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006366/0.4118, allocations: 218.4 kB / 0.5115 GB, free: 45.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.412, allocations: 254.9 kB / 0.5118 GB, free: 45.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.412, allocations: 1.094 kB / 0.5118 GB, free: 45.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.44, allocations: 10.9 MB / 0.5224 GB, free: 42.32 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001266/0.4401, allocations: 193.4 kB / 0.5226 GB, free: 42.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.448, allocations: 0 / 0.5226 GB, free: 42.06 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/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