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.0008408/0.0008408, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009536/0.0009537, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1736/0.1736, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002067/0.0002067, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.08978, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01335/0.1032, allocations: 16.04 MB / 499.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005184/0.1084, allocations: 3.603 MB / 0.491 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.109, allocations: 63.88 kB / 0.4911 GB, free: 288 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.1093, allocations: 83.52 kB / 0.4912 GB, free: 204 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.1096, allocations: 187.1 kB / 0.4913 GB, free: 16 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.1098, allocations: 47.94 kB / 0.4914 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00053/0.1104, allocations: 0.619 MB / 0.492 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.1114, allocations: 0.8221 MB / 0.4928 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1116, allocations: 163.2 kB / 0.493 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.1119, allocations: 262.9 kB / 0.4932 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.112, allocations: 16 kB / 0.4932 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1121, allocations: 71.81 kB / 0.4933 GB, free: 14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.1123, allocations: 239.3 kB / 0.4935 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.1125, allocations: 303.7 kB / 0.4938 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005702/0.1131, allocations: 0.7666 MB / 0.4946 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1131, allocations: 4 kB / 0.4946 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1131, allocations: 0 / 0.4946 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1131, allocations: 0 / 0.4946 GB, free: 12.68 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.001006/0.1141, allocations: 0.8257 MB / 0.4954 GB, free: 11.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1142, allocations: 16.88 kB / 0.4954 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.536e-05/0.1143, allocations: 106.7 kB / 0.4955 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006812/0.115, allocations: 163.8 kB / 0.4956 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.1154, allocations: 449.6 kB / 0.4961 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.1155, allocations: 37.36 kB / 0.4961 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.1155, allocations: 43.92 kB / 0.4961 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.1167, allocations: 1.089 MB / 0.4972 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1167, allocations: 4 kB / 0.4972 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.1168, allocations: 19.98 kB / 0.4972 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000297/0.1171, allocations: 196.3 kB / 0.4974 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009706/0.1181, allocations: 0.7239 MB / 0.4981 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/0.1211, allocations: 4.665 MB / 0.5027 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1213, allocations: 62.53 kB / 0.5027 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1214, allocations: 60.91 kB / 0.5028 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.1214, allocations: 0 / 0.5028 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.1215, allocations: 30.56 kB / 0.5028 GB, free: 3.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1215, allocations: 0 / 0.5028 GB, free: 3.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004568/0.1219, allocations: 240.6 kB / 0.5031 GB, free: 3.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.122, allocations: 59.34 kB / 0.5031 GB, free: 3.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007906/0.1228, allocations: 0.8279 MB / 0.5039 GB, free: 2.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1228, allocations: 25.7 kB / 0.5039 GB, free: 2.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.1231, allocations: 0.5005 MB / 0.5044 GB, free: 2.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.1231, allocations: 19.89 kB / 0.5045 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.1232, allocations: 81.67 kB / 0.5045 GB, free: 2.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1233, allocations: 378.8 kB / 0.5049 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.1236, allocations: 185.9 kB / 0.5051 GB, free: 1.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.1242, allocations: 0.739 MB / 0.5058 GB, free: 432 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1526/0.2768, allocations: 0.9896 MB / 0.5068 GB, free: 41.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.2768, allocations: 6.969 kB / 0.5068 GB, free: 41.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001274/0.2781, allocations: 0.8795 MB / 0.5076 GB, free: 40.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.2781, allocations: 14.61 kB / 0.5076 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.2781, allocations: 20.31 kB / 0.5077 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-05/0.2782, allocations: 30.41 kB / 0.5077 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.2786, allocations: 186.7 kB / 0.5079 GB, free: 40.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.219e-05/0.2787, allocations: 38.97 kB / 0.5079 GB, free: 40.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.2792, allocations: 121.5 kB / 0.508 GB, free: 40.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.2792, allocations: 52.41 kB / 0.5081 GB, free: 40.88 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.0003929/0.2796, allocations: 354.9 kB / 0.5084 GB, free: 40.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.2797, allocations: 61.72 kB / 0.5085 GB, free: 40.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.942e-05/0.2798, allocations: 67.06 kB / 0.5085 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2798, allocations: 0 / 0.5085 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2798, allocations: 0.75 kB / 0.5085 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2798, allocations: 0.6094 kB / 0.5085 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.2803, allocations: 0.4965 MB / 0.509 GB, free: 40.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2803, allocations: 4.5 kB / 0.509 GB, free: 40.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.2804, allocations: 14.58 kB / 0.509 GB, free: 40.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2804, allocations: 1.5 kB / 0.509 GB, free: 40.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.2804, allocations: 4.75 kB / 0.509 GB, free: 40.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2804, allocations: 0 / 0.509 GB, free: 40.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2804, allocations: 2.172 kB / 0.509 GB, free: 40.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.2807, allocations: 280.8 kB / 0.5093 GB, free: 40.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.49e-05/0.2808, allocations: 134.6 kB / 0.5094 GB, free: 40.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.2809, allocations: 2.141 kB / 0.5094 GB, free: 40.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.281, allocations: 10.66 kB / 0.5094 GB, free: 40.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.2811, allocations: 13.19 kB / 0.5095 GB, free: 40.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2811, allocations: 1.984 kB / 0.5095 GB, free: 40.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000564/0.2817, allocations: 0.5293 MB / 0.51 GB, free: 40.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2817, allocations: 5 kB / 0.51 GB, free: 40.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005823/0.2823, allocations: 144.1 kB / 0.5101 GB, free: 40.14 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.0004538/0.2827, allocations: 0.8073 MB / 0.5109 GB, free: 39.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006096/0.2833, allocations: 432.4 kB / 0.5113 GB, free: 39.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2834, allocations: 0 / 0.5113 GB, free: 39.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.2835, allocations: 52.78 kB / 0.5114 GB, free: 39.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.284, allocations: 93.55 kB / 0.5115 GB, free: 39.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.2895, allocations: 6.546 MB / 0.5179 GB, free: 34.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.29, allocations: 0.9873 MB / 0.5188 GB, free: 34.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004863/0.2905, allocations: 210.9 kB / 0.519 GB, free: 34.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.2907, allocations: 229.7 kB / 0.5192 GB, free: 33.96 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2907, allocations: 0 / 0.5192 GB, free: 33.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.3097, allocations: 10.27 MB / 0.5293 GB, free: 30.76 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/0.3099, allocations: 194.2 kB / 0.5295 GB, free: 30.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.188, allocations: 0 / 0.5295 GB, free: 30.5 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