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.001113/0.001113, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001213/0.001214, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.348/1.348, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2137/0.2137, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 68.84 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1093, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007677/0.117, allocations: 6.342 MB / 475.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.1205, allocations: 1.943 MB / 477.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005899/0.1211, allocations: 27.94 kB / 477.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.1224, allocations: 0.6034 MB / 478.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005208/0.123, allocations: 214.8 kB / 478.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.1232, allocations: 55.81 kB / 478.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.1237, allocations: 458 kB / 479 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006564/0.1244, allocations: 0.5221 MB / 479.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.1247, allocations: 239 kB / 479.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.1252, allocations: 294.8 kB / 480 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.1253, allocations: 47.94 kB / 480.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.1256, allocations: 87.88 kB / 480.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.1259, allocations: 291.2 kB / 480.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.1263, allocations: 349.8 kB / 480.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008621/0.1271, allocations: 0.8836 MB / 481.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1271, allocations: 0 / 481.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1272, allocations: 0 / 481.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.907e-05/0.1272, 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.001639/0.1288, allocations: 0.993 MB / 482.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1289, allocations: 12.03 kB / 482.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.129, allocations: 127.3 kB / 482.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005472/0.1296, allocations: 135.7 kB / 482.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000599/0.1302, allocations: 453.5 kB / 483.4 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.1302, allocations: 37.34 kB / 483.4 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.1303, allocations: 47.92 kB / 483.5 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.1318, allocations: 1.241 MB / 484.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.1318, allocations: 3.938 kB / 484.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.1319, allocations: 19.98 kB / 484.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003944/0.1323, allocations: 252.7 kB / 485 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.1336, allocations: 0.8076 MB / 485.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004686/0.1383, allocations: 5.07 MB / 490.8 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.1385, allocations: 58.47 kB / 490.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1386, allocations: 44.91 kB / 490.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1386, allocations: 0 / 490.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1386, allocations: 42.55 kB / 491 MB, free: 8.148 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1387, allocations: 0 / 491 MB, free: 8.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005125/0.1392, allocations: 204.8 kB / 491.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.1392, allocations: 55.41 kB / 491.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009923/0.1402, allocations: 0.8554 MB / 492.1 MB, free: 7.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1402, allocations: 25.7 kB / 492.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.1407, allocations: 0.54 MB / 492.7 MB, free: 6.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.1407, allocations: 27.8 kB / 492.7 MB, free: 6.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.141, allocations: 170.4 kB / 492.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1411, allocations: 378.8 kB / 493.2 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.1415, allocations: 177.8 kB / 493.4 MB, free: 5.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/0.1422, allocations: 0.7428 MB / 494.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.1433, allocations: 0.9703 MB / 495.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/0.1433, allocations: 15.94 kB / 495.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001409/0.1447, allocations: 0.8724 MB / 496 MB, free: 2.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.1448, allocations: 24.02 kB / 496 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/0.1448, allocations: 20 kB / 496 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.81e-05/0.1448, allocations: 24 kB / 496.1 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.1454, allocations: 171.7 kB / 496.2 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.682e-05/0.1454, allocations: 43.84 kB / 496.3 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006438/0.1461, allocations: 118.8 kB / 496.4 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/0.1462, allocations: 55.94 kB / 496.4 MB, free: 2.062 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.0004693/0.1466, allocations: 395.8 kB / 496.8 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.1468, allocations: 55.25 kB / 496.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.1469, allocations: 69.44 kB / 497 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1469, allocations: 0 / 497 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.1469, allocations: 4 kB / 497 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1469, allocations: 0 / 497 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000688/0.1476, allocations: 0.5558 MB / 497.5 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1476, allocations: 0 / 497.5 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.582e-05/0.1477, allocations: 15.98 kB / 497.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1477, allocations: 4 kB / 497.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.1477, allocations: 0 / 497.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1478, allocations: 0 / 497.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1478, allocations: 0 / 497.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.1482, allocations: 274.6 kB / 497.8 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.1483, allocations: 132.3 kB / 497.9 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.1484, allocations: 0 / 497.9 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1486, allocations: 15.98 kB / 497.9 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.1487, allocations: 7.984 kB / 498 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1487, allocations: 0 / 498 MB, free: 456 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006998/0.1494, allocations: 0.5575 MB / 498.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1494, allocations: 0 / 498.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006741/0.1501, allocations: 151.5 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.0006216/0.1507, allocations: 0.8053 MB / 499.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006694/0.1514, allocations: 415.8 kB / 499.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1514, allocations: 4 kB / 499.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.1515, allocations: 47.94 kB / 499.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.1521, allocations: 108.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.007346/0.1594, allocations: 6.506 MB / 0.4947 GB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.1601, allocations: 1.022 MB / 0.4957 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004964/0.1606, allocations: 212.8 kB / 0.4959 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.1609, allocations: 259.3 kB / 0.4961 GB, free: 5.688 MB / 382.1 MB Notification: Performance of SimCode: time 1.854e-06/0.1609, allocations: 0 / 0.4961 GB, free: 5.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.221/0.3819, allocations: 11.25 MB / 0.5071 GB, free: 49.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/8.025, allocations: 4.781 kB / 0.5071 GB, free: 49.78 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