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.001006/0.001006, allocations: 91.53 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 196.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.8 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2003/0.2003, allocations: 46.19 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002831/0.0002828, allocations: 8 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 63.56 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.02307/0.1354, allocations: 16.03 MB / 499.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009507/0.145, allocations: 3.611 MB / 0.491 GB, free: 368 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.1472, allocations: 63.88 kB / 0.4911 GB, free: 304 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.1476, allocations: 83.52 kB / 0.4912 GB, free: 220 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000695/0.1483, allocations: 179.2 kB / 0.4913 GB, free: 40 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1487, allocations: 55.88 kB / 0.4914 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008618/0.1495, allocations: 0.619 MB / 0.492 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.1511, allocations: 0.8104 MB / 0.4928 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003249/0.1515, allocations: 167.2 kB / 0.493 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.152, allocations: 254.9 kB / 0.4932 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.152, allocations: 20 kB / 0.4932 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.1523, allocations: 75.88 kB / 0.4933 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.1526, allocations: 235.2 kB / 0.4935 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.153, allocations: 315.7 kB / 0.4938 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009502/0.1539, allocations: 0.7666 MB / 0.4946 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1539, allocations: 0 / 0.4946 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1539, allocations: 0 / 0.4946 GB, free: 12.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.154, allocations: 0 / 0.4946 GB, free: 12.7 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.001751/0.1557, allocations: 0.8296 MB / 0.4954 GB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.1558, allocations: 8.875 kB / 0.4954 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.156, allocations: 110.7 kB / 0.4955 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.1572, allocations: 167.8 kB / 0.4956 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/0.1579, allocations: 449.6 kB / 0.4961 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.158, allocations: 29.36 kB / 0.4961 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.1581, allocations: 47.92 kB / 0.4961 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.1594, allocations: 1.078 MB / 0.4972 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1594, allocations: 7.938 kB / 0.4972 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.1595, allocations: 19.98 kB / 0.4972 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004572/0.1599, allocations: 196.3 kB / 0.4974 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.1616, allocations: 0.7278 MB / 0.4981 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005176/0.1668, allocations: 4.669 MB / 0.5027 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.167, allocations: 70.52 kB / 0.5028 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.1672, allocations: 48.91 kB / 0.5028 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1673, allocations: 8 kB / 0.5028 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1673, allocations: 30.56 kB / 0.5028 GB, free: 3.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.345e-06/0.1673, allocations: 0 / 0.5028 GB, free: 3.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007847/0.1681, allocations: 240.6 kB / 0.5031 GB, free: 3.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1682, allocations: 51.41 kB / 0.5031 GB, free: 3.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.1696, allocations: 0.824 MB / 0.5039 GB, free: 2.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1696, allocations: 25.7 kB / 0.5039 GB, free: 2.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/0.1701, allocations: 0.5005 MB / 0.5044 GB, free: 2.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.1702, allocations: 27.88 kB / 0.5045 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.1703, allocations: 81.67 kB / 0.5045 GB, free: 2.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.1705, allocations: 374.8 kB / 0.5049 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/0.171, allocations: 185.9 kB / 0.5051 GB, free: 1.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009343/0.172, allocations: 0.739 MB / 0.5058 GB, free: 456 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2143/0.3863, allocations: 0.9887 MB / 0.5068 GB, free: 40.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/0.3864, allocations: 5.5 kB / 0.5068 GB, free: 40.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001517/0.3879, allocations: 0.886 MB / 0.5076 GB, free: 40.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.3879, allocations: 17.62 kB / 0.5076 GB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.388, allocations: 20.03 kB / 0.5077 GB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.096e-05/0.388, allocations: 30.2 kB / 0.5077 GB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.3885, allocations: 178.6 kB / 0.5079 GB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.43e-05/0.3886, allocations: 39.39 kB / 0.5079 GB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/0.3891, allocations: 124.2 kB / 0.508 GB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.3891, allocations: 53.52 kB / 0.5081 GB, free: 40.5 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.0003784/0.3895, allocations: 353.3 kB / 0.5084 GB, free: 40.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.3896, allocations: 57.12 kB / 0.5085 GB, free: 40.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.947e-05/0.3897, allocations: 66.33 kB / 0.5085 GB, free: 40.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.3897, allocations: 6.156 kB / 0.5085 GB, free: 40.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3897, allocations: 0 / 0.5085 GB, free: 40.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3897, allocations: 0 / 0.5085 GB, free: 40.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.3902, allocations: 0.4962 MB / 0.509 GB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3902, allocations: 1.031 kB / 0.509 GB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.3903, allocations: 14.73 kB / 0.509 GB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3903, allocations: 0 / 0.509 GB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3904, allocations: 2.844 kB / 0.509 GB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3904, allocations: 0 / 0.509 GB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3904, allocations: 1.078 kB / 0.509 GB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.3907, allocations: 295.1 kB / 0.5093 GB, free: 40.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.3908, allocations: 132 kB / 0.5094 GB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.3908, allocations: 6.219 kB / 0.5094 GB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.391, allocations: 10.44 kB / 0.5095 GB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.3911, allocations: 8.484 kB / 0.5095 GB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3911, allocations: 1.984 kB / 0.5095 GB, free: 39.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005616/0.3917, allocations: 0.5308 MB / 0.51 GB, free: 39.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3917, allocations: 0 / 0.51 GB, free: 39.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006149/0.3923, allocations: 146.3 kB / 0.5101 GB, free: 39.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.0005225/0.3928, allocations: 0.8074 MB / 0.5109 GB, free: 39.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006752/0.3935, allocations: 435.3 kB / 0.5113 GB, free: 39.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3935, allocations: 0 / 0.5113 GB, free: 39.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3937, allocations: 49.47 kB / 0.5114 GB, free: 39.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.3942, allocations: 91.81 kB / 0.5115 GB, free: 39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006575/0.4008, allocations: 6.544 MB / 0.5179 GB, free: 34.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.4013, allocations: 0.9831 MB / 0.5188 GB, free: 34.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005648/0.4019, allocations: 207.1 kB / 0.519 GB, free: 34.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.4022, allocations: 235.6 kB / 0.5192 GB, free: 33.88 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4022, allocations: 0 / 0.5192 GB, free: 33.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.4251, allocations: 10.28 MB / 0.5293 GB, free: 30.68 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.4253, allocations: 196 kB / 0.5295 GB, free: 30.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.361, allocations: 0 / 0.5295 GB, free: 30.43 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