Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 115.4 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 76.48 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.126, allocations: 62.45 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01729/0.1434, allocations: 16.67 MB / 496.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009293/0.1527, allocations: 3.603 MB / 499.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004159/0.1569, allocations: 63.88 kB / 499.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.1587, allocations: 0.5959 MB / 0.4888 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008218/0.1596, allocations: 171.1 kB / 0.489 GB, free: 332 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1601, allocations: 55.94 kB / 0.489 GB, free: 276 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008964/0.161, allocations: 430.1 kB / 0.4894 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.162, allocations: 0.5222 MB / 0.4899 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.1625, allocations: 219.1 kB / 0.4901 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005522/0.1631, allocations: 310.9 kB / 0.4904 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.1632, allocations: 36 kB / 0.4905 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.1635, allocations: 87.88 kB / 0.4905 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.1639, allocations: 263.3 kB / 0.4908 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.1643, allocations: 321.9 kB / 0.4911 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.1653, allocations: 0.7941 MB / 0.4919 GB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1653, allocations: 0 / 0.4919 GB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1653, allocations: 0 / 0.4919 GB, free: 13.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.94e-05/0.1654, allocations: 0 / 0.4919 GB, free: 13.31 MB / 382.1 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.001899/0.1673, allocations: 0.9541 MB / 0.4928 GB, free: 12.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1673, allocations: 8.031 kB / 0.4928 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.1675, allocations: 114.6 kB / 0.4929 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/0.1684, allocations: 155.8 kB / 0.4931 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.169, allocations: 437.8 kB / 0.4935 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1691, allocations: 29.36 kB / 0.4935 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.1692, allocations: 43.92 kB / 0.4936 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.1706, allocations: 1.085 MB / 0.4946 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1706, allocations: 4 kB / 0.4946 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.1707, allocations: 23.98 kB / 0.4947 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003252/0.171, allocations: 188.3 kB / 0.4948 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.1721, allocations: 0.716 MB / 0.4955 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004119/0.1763, allocations: 4.669 MB / 0.5001 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1765, allocations: 58.53 kB / 0.5001 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1766, allocations: 48.89 kB / 0.5002 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1766, allocations: 3.984 kB / 0.5002 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1766, allocations: 34.56 kB / 0.5002 GB, free: 4.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.396e-06/0.1767, allocations: 7.984 kB / 0.5002 GB, free: 4.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005032/0.1772, allocations: 212.7 kB / 0.5004 GB, free: 4.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.1772, allocations: 51.41 kB / 0.5005 GB, free: 4.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.1781, allocations: 0.8164 MB / 0.5013 GB, free: 3.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1781, allocations: 25.7 kB / 0.5013 GB, free: 3.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.1785, allocations: 0.5043 MB / 0.5018 GB, free: 2.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1785, allocations: 31.88 kB / 0.5018 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.1787, allocations: 174.3 kB / 0.502 GB, free: 2.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1789, allocations: 374.8 kB / 0.5024 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.1792, allocations: 177.9 kB / 0.5025 GB, free: 1.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.1799, allocations: 0.7351 MB / 0.5032 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2512/0.4311, allocations: 0.9767 MB / 0.5042 GB, free: 42.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.934e-05/0.4312, allocations: 6.266 kB / 0.5042 GB, free: 42.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001881/0.4331, allocations: 0.8691 MB / 0.5051 GB, free: 42.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.4331, allocations: 16.41 kB / 0.5051 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/0.4332, allocations: 21.52 kB / 0.5051 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.693e-05/0.4332, allocations: 31.88 kB / 0.5051 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.4339, allocations: 175.9 kB / 0.5053 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.718e-05/0.4339, allocations: 38.48 kB / 0.5053 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/0.4346, allocations: 118.8 kB / 0.5054 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.4348, allocations: 47.66 kB / 0.5055 GB, free: 42.62 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.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.0005016/0.4353, allocations: 364.7 kB / 0.5058 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.4354, allocations: 60.56 kB / 0.5059 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.4356, allocations: 66.48 kB / 0.506 GB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4356, allocations: 0 / 0.506 GB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.4356, allocations: 1.125 kB / 0.506 GB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4356, allocations: 0.6562 kB / 0.506 GB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008255/0.4364, allocations: 0.493 MB / 0.5064 GB, free: 42.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4364, allocations: 0 / 0.5064 GB, free: 42.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.651e-05/0.4365, allocations: 14.41 kB / 0.5065 GB, free: 42.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4365, allocations: 0 / 0.5065 GB, free: 42.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4366, allocations: 3.734 kB / 0.5065 GB, free: 42.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4366, allocations: 0 / 0.5065 GB, free: 42.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4366, allocations: 0.6094 kB / 0.5065 GB, free: 42.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.437, allocations: 278.5 kB / 0.5067 GB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.4371, allocations: 129.6 kB / 0.5068 GB, free: 42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.4372, allocations: 0 / 0.5068 GB, free: 42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.4374, allocations: 15.61 kB / 0.5069 GB, free: 42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.4375, allocations: 9.453 kB / 0.5069 GB, free: 42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4375, allocations: 2.391 kB / 0.5069 GB, free: 42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006728/0.4382, allocations: 0.5302 MB / 0.5074 GB, free: 41.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4382, allocations: 0 / 0.5074 GB, free: 41.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007768/0.4389, allocations: 143.3 kB / 0.5075 GB, free: 41.85 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.000537/0.4395, allocations: 0.8001 MB / 0.5083 GB, free: 41.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007325/0.4402, allocations: 420.3 kB / 0.5087 GB, free: 41.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4402, allocations: 0 / 0.5087 GB, free: 41.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.4404, allocations: 52 kB / 0.5088 GB, free: 41.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.4409, allocations: 92.77 kB / 0.5088 GB, free: 40.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007403/0.4484, allocations: 6.482 MB / 0.5152 GB, free: 36.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.449, allocations: 0.9849 MB / 0.5161 GB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005949/0.4496, allocations: 207 kB / 0.5163 GB, free: 35.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.4498, allocations: 234.7 kB / 0.5166 GB, free: 35.47 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4498, allocations: 0 / 0.5166 GB, free: 35.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.4774, allocations: 10.6 MB / 0.5269 GB, free: 32.08 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.4776, allocations: 198.7 kB / 0.5271 GB, free: 31.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/2.618, allocations: 7.938 kB / 0.5271 GB, free: 31.82 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches