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.001378/0.001378, allocations: 107.3 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001389, allocations: 79.69 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.102, allocations: 62.45 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01625/0.1183, allocations: 16.66 MB / 496.1 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006829/0.1252, allocations: 3.638 MB / 499.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.1276, allocations: 63.88 kB / 499.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.1291, allocations: 0.6116 MB / 0.4886 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005544/0.1297, allocations: 183.2 kB / 0.4888 GB, free: 380 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.1299, allocations: 59.86 kB / 0.4889 GB, free: 320 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000722/0.1307, allocations: 0.6151 MB / 0.4895 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006965/0.1314, allocations: 0.4936 MB / 0.49 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.1317, allocations: 199.1 kB / 0.4901 GB, free: 15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.1322, allocations: 306.9 kB / 0.4904 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.668e-05/0.1323, allocations: 32 kB / 0.4905 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.1325, allocations: 91.88 kB / 0.4906 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.1328, allocations: 255.2 kB / 0.4908 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.1331, allocations: 310 kB / 0.4911 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007372/0.1338, allocations: 0.7901 MB / 0.4919 GB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1338, allocations: 0 / 0.4919 GB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1338, allocations: 0 / 0.4919 GB, free: 13.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.726e-05/0.1339, allocations: 0 / 0.4919 GB, free: 13.23 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.001693/0.1356, allocations: 0.9424 MB / 0.4928 GB, free: 12.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1356, allocations: 8.875 kB / 0.4928 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.1358, allocations: 114.7 kB / 0.4929 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007679/0.1365, allocations: 155.8 kB / 0.493 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.1371, allocations: 437.7 kB / 0.4935 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.1372, allocations: 37.36 kB / 0.4935 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.1372, allocations: 39.92 kB / 0.4935 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.1386, allocations: 1.082 MB / 0.4946 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1387, allocations: 3.938 kB / 0.4946 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.1387, allocations: 23.98 kB / 0.4946 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000315/0.1391, allocations: 192.3 kB / 0.4948 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.1402, allocations: 0.7199 MB / 0.4955 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.1441, allocations: 4.661 MB / 0.5001 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1442, allocations: 54.62 kB / 0.5001 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1444, allocations: 48.8 kB / 0.5002 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1444, allocations: 0 / 0.5002 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1444, allocations: 34.56 kB / 0.5002 GB, free: 4.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.294e-06/0.1444, allocations: 3.984 kB / 0.5002 GB, free: 4.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004885/0.1449, allocations: 220.7 kB / 0.5004 GB, free: 4.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.145, allocations: 51.41 kB / 0.5005 GB, free: 3.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009768/0.1459, allocations: 0.8203 MB / 0.5013 GB, free: 3.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.146, allocations: 25.7 kB / 0.5013 GB, free: 3.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.1463, allocations: 0.5082 MB / 0.5018 GB, free: 2.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.1464, allocations: 27.88 kB / 0.5018 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.1466, allocations: 174.3 kB / 0.502 GB, free: 2.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1467, allocations: 370.8 kB / 0.5023 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.147, allocations: 181.9 kB / 0.5025 GB, free: 1.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.1477, allocations: 0.7351 MB / 0.5032 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1856/0.3333, allocations: 0.976 MB / 0.5042 GB, free: 42.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/0.3334, allocations: 6.188 kB / 0.5042 GB, free: 42.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001524/0.3349, allocations: 0.8611 MB / 0.505 GB, free: 42.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.335, allocations: 14.2 kB / 0.505 GB, free: 42.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.335, allocations: 21.31 kB / 0.505 GB, free: 42.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.761e-05/0.335, allocations: 31.94 kB / 0.5051 GB, free: 42.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.3355, allocations: 180.8 kB / 0.5053 GB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.835e-05/0.3356, allocations: 38.95 kB / 0.5053 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.3361, allocations: 112.2 kB / 0.5054 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.3362, allocations: 50.62 kB / 0.5054 GB, free: 42.64 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.000406/0.3366, allocations: 363.3 kB / 0.5058 GB, free: 42.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.3366, allocations: 57.73 kB / 0.5058 GB, free: 42.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.691e-05/0.3367, allocations: 66.16 kB / 0.5059 GB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3368, allocations: 1.219 kB / 0.5059 GB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3368, allocations: 0.5625 kB / 0.5059 GB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.3368, allocations: 2.375 kB / 0.5059 GB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.3373, allocations: 0.4939 MB / 0.5064 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3373, allocations: 0 / 0.5064 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.923e-05/0.3374, allocations: 16.11 kB / 0.5064 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3374, allocations: 2.094 kB / 0.5064 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3374, allocations: 2.844 kB / 0.5064 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3375, allocations: 5.562 kB / 0.5064 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3375, allocations: 1.094 kB / 0.5064 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.3378, allocations: 269.2 kB / 0.5067 GB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.089e-05/0.3379, allocations: 133.2 kB / 0.5068 GB, free: 42.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.338, allocations: 0.6562 kB / 0.5068 GB, free: 42.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.3382, allocations: 12.3 kB / 0.5068 GB, free: 42.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.3382, allocations: 12.47 kB / 0.5068 GB, free: 42.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3382, allocations: 3.562 kB / 0.5068 GB, free: 42.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005835/0.3388, allocations: 0.5291 MB / 0.5073 GB, free: 41.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3388, allocations: 0 / 0.5073 GB, free: 41.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006361/0.3395, allocations: 142.9 kB / 0.5075 GB, free: 41.87 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.0004768/0.34, allocations: 0.798 MB / 0.5083 GB, free: 41.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.3406, allocations: 416.7 kB / 0.5087 GB, free: 41.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3406, allocations: 5.578 kB / 0.5087 GB, free: 41.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.3407, allocations: 48.16 kB / 0.5087 GB, free: 41.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.3412, allocations: 85.39 kB / 0.5088 GB, free: 41.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006335/0.3476, allocations: 6.489 MB / 0.5151 GB, free: 36.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.3481, allocations: 0.9802 MB / 0.5161 GB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000548/0.3486, allocations: 207.1 kB / 0.5163 GB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.3489, allocations: 232.4 kB / 0.5165 GB, free: 35.49 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3489, allocations: 1.344 kB / 0.5165 GB, free: 35.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.3702, allocations: 10.41 MB / 0.5267 GB, free: 32.16 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.3705, allocations: 199.1 kB / 0.5269 GB, free: 31.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.376, allocations: 0 / 0.5269 GB, free: 31.9 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