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.0008466/0.0008465, allocations: 94.19 kB / 17.35 MB, free: 6.371 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.0009542/0.0009543, allocations: 172.6 kB / 18.25 MB, free: 5.523 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.281/1.281, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1943/0.1943, allocations: 44.24 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09973/0.1001, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.018/0.1181, allocations: 19.66 MB / 492 MB, free: 9.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007847/0.126, allocations: 4.199 MB / 496.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.1284, allocations: 83.81 kB / 496.3 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.1288, allocations: 87.5 kB / 496.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.1294, allocations: 203 kB / 496.6 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.1296, allocations: 31.95 kB / 496.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006804/0.1303, allocations: 0.7009 MB / 497.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.1314, allocations: 0.8338 MB / 498.1 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.1317, allocations: 171.2 kB / 498.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003819/0.1321, allocations: 274.8 kB / 498.6 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-05/0.1321, allocations: 20 kB / 498.6 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.1323, allocations: 71.88 kB / 498.7 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.1325, allocations: 259.1 kB / 498.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.1328, allocations: 339.6 kB / 499.3 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006813/0.1335, allocations: 0.8483 MB / 0.4884 GB, free: 1.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1335, allocations: 4 kB / 0.4884 GB, free: 1.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.1335, allocations: 0 / 0.4884 GB, free: 1.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.1335, allocations: 7.938 kB / 0.4884 GB, free: 1.324 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.001226/0.1348, allocations: 0.8744 MB / 0.4892 GB, free: 412 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1348, allocations: 12.03 kB / 0.4893 GB, free: 400 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.1349, allocations: 123.3 kB / 0.4894 GB, free: 268 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000517/0.1355, allocations: 139.7 kB / 0.4895 GB, free: 128 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.136, allocations: 449.6 kB / 0.4899 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.136, allocations: 29.36 kB / 0.49 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.1361, allocations: 59.91 kB / 0.49 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.1375, allocations: 1.245 MB / 0.4912 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1375, allocations: 7.938 kB / 0.4912 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.1376, allocations: 23.98 kB / 0.4913 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003698/0.138, allocations: 244.8 kB / 0.4915 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.1392, allocations: 0.8115 MB / 0.4923 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.1432, allocations: 5.073 MB / 0.4972 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1434, allocations: 78.48 kB / 0.4973 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1435, allocations: 52.91 kB / 0.4974 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1435, allocations: 4 kB / 0.4974 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1435, allocations: 30.56 kB / 0.4974 GB, free: 7.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/0.1435, allocations: 112 / 0.4974 GB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005062/0.144, allocations: 240.6 kB / 0.4976 GB, free: 7.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.1441, allocations: 55.34 kB / 0.4977 GB, free: 7.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009466/0.145, allocations: 0.8476 MB / 0.4985 GB, free: 6.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1451, allocations: 33.7 kB / 0.4985 GB, free: 6.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.1454, allocations: 0.5321 MB / 0.4991 GB, free: 5.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.1454, allocations: 23.89 kB / 0.4991 GB, free: 5.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.742e-05/0.1455, allocations: 81.67 kB / 0.4992 GB, free: 5.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1457, allocations: 386.8 kB / 0.4995 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.146, allocations: 181.9 kB / 0.4997 GB, free: 5.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007726/0.1468, allocations: 0.739 MB / 0.5004 GB, free: 4.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.1479, allocations: 0.9976 MB / 0.5014 GB, free: 2.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.1479, allocations: 7.938 kB / 0.5014 GB, free: 2.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001289/0.1492, allocations: 0.888 MB / 0.5023 GB, free: 2.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1492, allocations: 12 kB / 0.5023 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.1492, allocations: 20 kB / 0.5023 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/0.1493, allocations: 35.97 kB / 0.5023 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.1497, allocations: 179.7 kB / 0.5025 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.921e-05/0.1498, allocations: 39.86 kB / 0.5026 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.1503, allocations: 122.8 kB / 0.5027 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.1503, allocations: 48 kB / 0.5027 GB, free: 1.586 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.0003849/0.1507, allocations: 395.8 kB / 0.5031 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.1508, allocations: 59.25 kB / 0.5032 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.239e-05/0.1509, allocations: 61.44 kB / 0.5032 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1509, allocations: 4 kB / 0.5032 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1509, allocations: 0 / 0.5032 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1509, allocations: 0 / 0.5032 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.1515, allocations: 0.5557 MB / 0.5038 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1515, allocations: 0 / 0.5038 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.253e-05/0.1516, allocations: 23.98 kB / 0.5038 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1516, allocations: 0 / 0.5038 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1516, allocations: 3.984 kB / 0.5038 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.1517, allocations: 7.984 kB / 0.5038 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1517, allocations: 0 / 0.5038 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.152, allocations: 286.6 kB / 0.5041 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1672/0.3193, allocations: 134.2 kB / 0.5042 GB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.3194, allocations: 2.125 kB / 0.5042 GB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.3197, allocations: 11.59 kB / 0.5042 GB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.3197, allocations: 9.047 kB / 0.5042 GB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-06/0.3197, allocations: 2.062 kB / 0.5042 GB, free: 50.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008285/0.3206, allocations: 0.5545 MB / 0.5048 GB, free: 50.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3206, allocations: 0 / 0.5048 GB, free: 50.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007962/0.3214, allocations: 158.8 kB / 0.5049 GB, free: 50.45 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.0005435/0.3219, allocations: 0.816 MB / 0.5057 GB, free: 49.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006704/0.3226, allocations: 437 kB / 0.5061 GB, free: 49.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3226, allocations: 0 / 0.5061 GB, free: 49.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3228, allocations: 47.95 kB / 0.5062 GB, free: 49.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.3234, allocations: 100.7 kB / 0.5063 GB, free: 49.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/0.3299, allocations: 6.795 MB / 0.5129 GB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.3304, allocations: 1.032 MB / 0.5139 GB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000518/0.331, allocations: 212.7 kB / 0.5141 GB, free: 44.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.3312, allocations: 256.4 kB / 0.5144 GB, free: 44.66 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3312, allocations: 0 / 0.5144 GB, free: 44.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.3513, allocations: 10.75 MB / 0.5249 GB, free: 41.22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/0.3514, allocations: 186.8 kB / 0.525 GB, free: 40.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.184, allocations: 0 / 0.525 GB, free: 40.97 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