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.001204/0.001204, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.001708/0.001708, allocations: 192 kB / 18.56 MB, free: 4.562 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.345/1.345, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2111/0.2111, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 60.62 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1046, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007533/0.1122, allocations: 6.353 MB / 475.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003892/0.1162, allocations: 1.939 MB / 477.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005554/0.1168, allocations: 27.94 kB / 477.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.1181, allocations: 0.6073 MB / 478.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004582/0.1186, allocations: 222.8 kB / 478.5 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1188, allocations: 43.89 kB / 478.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.1193, allocations: 466 kB / 479 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006346/0.1199, allocations: 0.5182 MB / 479.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.1202, allocations: 235 kB / 479.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.1206, allocations: 302.8 kB / 480 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/0.1207, allocations: 40 kB / 480.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.1209, allocations: 83.89 kB / 480.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.1212, allocations: 291.1 kB / 480.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.1215, allocations: 357.8 kB / 480.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008242/0.1223, allocations: 0.8797 MB / 481.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1223, allocations: 0 / 481.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1224, allocations: 0 / 481.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1224, allocations: 0 / 481.7 MB, free: 1.906 MB / 350.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.001502/0.1239, allocations: 0.9958 MB / 482.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1239, allocations: 12.03 kB / 482.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.1241, allocations: 127.3 kB / 482.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005994/0.1247, allocations: 139.7 kB / 482.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000619/0.1253, allocations: 449.5 kB / 483.4 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.1254, allocations: 41.3 kB / 483.4 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.1255, allocations: 43.92 kB / 483.5 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.127, allocations: 1.241 MB / 484.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.127, allocations: 7.938 kB / 484.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.1271, allocations: 15.98 kB / 484.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000395/0.1275, allocations: 252.7 kB / 485 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.1287, allocations: 0.796 MB / 485.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004663/0.1333, allocations: 5.073 MB / 490.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1336, allocations: 62.58 kB / 490.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.1337, allocations: 44.84 kB / 490.9 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1337, allocations: 8 kB / 491 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.1338, allocations: 34.56 kB / 491 MB, free: 8.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 4.96e-06/0.1338, allocations: 0 / 491 MB, free: 8.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005419/0.1343, allocations: 212.7 kB / 491.2 MB, free: 7.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1344, allocations: 51.41 kB / 491.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009952/0.1354, allocations: 0.8515 MB / 492.1 MB, free: 7.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1354, allocations: 25.7 kB / 492.1 MB, free: 6.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.1357, allocations: 0.5399 MB / 492.7 MB, free: 6.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1358, allocations: 23.8 kB / 492.7 MB, free: 6.414 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.136, allocations: 174.4 kB / 492.9 MB, free: 6.238 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1361, allocations: 374.8 kB / 493.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.1364, allocations: 181.8 kB / 493.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.1371, allocations: 0.739 MB / 494.1 MB, free: 4.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.1381, allocations: 0.9742 MB / 495.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.1382, allocations: 19.88 kB / 495.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001308/0.1395, allocations: 0.8763 MB / 496 MB, free: 2.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1395, allocations: 20.03 kB / 496 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.1395, allocations: 20 kB / 496 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.709e-05/0.1396, allocations: 24 kB / 496.1 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.1401, allocations: 179.7 kB / 496.2 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-05/0.1401, allocations: 39.84 kB / 496.3 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.1406, allocations: 118.8 kB / 496.4 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.1407, allocations: 48 kB / 496.4 MB, free: 2.066 MB / 366.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.0004276/0.1411, allocations: 403.8 kB / 496.8 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.1412, allocations: 55.25 kB / 496.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-05/0.1413, allocations: 65.45 kB / 497 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1413, allocations: 0 / 497 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1413, allocations: 3.984 kB / 497 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1413, allocations: 0 / 497 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006036/0.1419, allocations: 0.5519 MB / 497.5 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1419, allocations: 4 kB / 497.5 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.231e-05/0.142, allocations: 11.98 kB / 497.5 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1421, allocations: 4 kB / 497.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.1421, allocations: 0 / 497.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1421, allocations: 0 / 497.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1421, allocations: 3.984 kB / 497.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.1424, allocations: 270.6 kB / 497.8 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1426, allocations: 132.3 kB / 497.9 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.1426, allocations: 4 kB / 497.9 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.1428, allocations: 11.98 kB / 498 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.1429, allocations: 7.984 kB / 498 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1429, allocations: 0 / 498 MB, free: 460 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006538/0.1436, allocations: 0.5536 MB / 498.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.904e-06/0.1436, allocations: 0 / 498.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006535/0.1443, allocations: 159.4 kB / 498.7 MB, free: 15.74 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.0006938/0.145, allocations: 0.8092 MB / 499.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007683/0.1457, allocations: 415.6 kB / 499.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1457, allocations: 0 / 499.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1459, allocations: 43.95 kB / 499.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.1465, allocations: 109.1 kB / 0.4883 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007893/0.1544, allocations: 6.494 MB / 0.4947 GB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.1551, allocations: 1.026 MB / 0.4957 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005565/0.1557, allocations: 212.8 kB / 0.4959 GB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.156, allocations: 259.3 kB / 0.4961 GB, free: 5.695 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.156, allocations: 0 / 0.4961 GB, free: 5.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.23/0.386, allocations: 11.26 MB / 0.5071 GB, free: 49.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.178, allocations: 8.719 kB / 0.5071 GB, free: 49.32 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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