Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2301/0.2301, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 64.05 kB / 0.4916 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1341, allocations: 66 MB / 0.5561 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008576/0.1426, allocations: 6.278 MB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004729/0.1474, allocations: 1.982 MB / 0.5641 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.1485, allocations: 23.94 kB / 0.5642 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.1501, allocations: 0.6307 MB / 0.5648 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005904/0.1507, allocations: 194.9 kB / 0.565 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1509, allocations: 67.8 kB / 0.565 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005629/0.1515, allocations: 410.2 kB / 0.5654 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006222/0.1521, allocations: 438.8 kB / 0.5658 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.1524, allocations: 227.1 kB / 0.5661 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.1529, allocations: 298.8 kB / 0.5663 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.1529, allocations: 44 kB / 0.5664 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.1531, allocations: 83.89 kB / 0.5665 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.1534, allocations: 271.1 kB / 0.5667 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.1537, allocations: 314 kB / 0.567 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009913/0.1547, allocations: 0.8206 MB / 0.5678 GB, free: 9.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1547, allocations: 4 kB / 0.5678 GB, free: 9.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1547, allocations: 0 / 0.5678 GB, free: 9.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1547, allocations: 0 / 0.5678 GB, free: 9.719 MB / 430.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.00159/0.1563, allocations: 0.9688 MB / 0.5688 GB, free: 8.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1564, allocations: 11.97 kB / 0.5688 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.151e-05/0.1564, allocations: 13.19 kB / 0.5688 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.1565, allocations: 114.6 kB / 0.5689 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008339/0.1574, allocations: 160.2 kB / 0.5691 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.158, allocations: 454 kB / 0.5695 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.158, allocations: 33.11 kB / 0.5695 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.956e-05/0.1581, allocations: 43.98 kB / 0.5696 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.1596, allocations: 1.078 MB / 0.5706 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.1596, allocations: 4 kB / 0.5706 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.1596, allocations: 23.97 kB / 0.5706 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003506/0.16, allocations: 192.3 kB / 0.5708 GB, free: 6.434 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.1612, allocations: 0.7161 MB / 0.5715 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004306/0.1655, allocations: 4.658 MB / 0.5761 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.1656, allocations: 54.53 kB / 0.5761 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.1658, allocations: 48.91 kB / 0.5762 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1658, allocations: 4 kB / 0.5762 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1658, allocations: 30.56 kB / 0.5762 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.1658, allocations: 0 / 0.5762 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005693/0.1664, allocations: 221 kB / 0.5764 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1664, allocations: 55.41 kB / 0.5765 GB, free: 440 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.1675, allocations: 0.8166 MB / 0.5773 GB, free: 15.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1675, allocations: 25.7 kB / 0.5773 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.1679, allocations: 0.5218 MB / 0.5778 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.1679, allocations: 31.83 kB / 0.5778 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.1681, allocations: 170.5 kB / 0.578 GB, free: 14.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.1684, allocations: 374.8 kB / 0.5784 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.1687, allocations: 181.9 kB / 0.5785 GB, free: 14.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/0.1695, allocations: 0.7312 MB / 0.5792 GB, free: 13.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.1706, allocations: 0.982 MB / 0.5802 GB, free: 12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.1707, allocations: 4 kB / 0.5802 GB, free: 12 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001446/0.1721, allocations: 0.8764 MB / 0.5811 GB, free: 11.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.1721, allocations: 16 kB / 0.5811 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.1722, allocations: 23.94 kB / 0.5811 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.865e-05/0.1722, allocations: 24 kB / 0.5811 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.1727, allocations: 175.7 kB / 0.5813 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.982e-05/0.1727, allocations: 43.8 kB / 0.5813 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005551/0.1733, allocations: 119.6 kB / 0.5814 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.1734, allocations: 52 kB / 0.5815 GB, free: 10.67 MB / 446.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.00042/0.1738, allocations: 361.7 kB / 0.5818 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.1739, allocations: 67.52 kB / 0.5819 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.174, allocations: 65.22 kB / 0.582 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.174, allocations: 3.984 kB / 0.582 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.174, allocations: 0 / 0.582 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.174, allocations: 0 / 0.582 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.1746, allocations: 0.4935 MB / 0.5825 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1746, allocations: 4 kB / 0.5825 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.07e-05/0.1747, allocations: 11.98 kB / 0.5825 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.1747, allocations: 0 / 0.5825 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1747, allocations: 3.938 kB / 0.5825 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1747, allocations: 0 / 0.5825 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.1747, allocations: 4.125 kB / 0.5825 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.1751, allocations: 275 kB / 0.5827 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.1753, allocations: 132.7 kB / 0.5829 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.1753, allocations: 7.938 kB / 0.5829 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.1755, allocations: 11.98 kB / 0.5829 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.1756, allocations: 7.984 kB / 0.5829 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.1756, allocations: 0 / 0.5829 GB, free: 9.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007018/0.1763, allocations: 0.5341 MB / 0.5834 GB, free: 8.609 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1763, allocations: 0 / 0.5834 GB, free: 8.609 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007177/0.177, allocations: 139.7 kB / 0.5835 GB, free: 8.473 MB / 446.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.0008376/0.1779, allocations: 0.8017 MB / 0.5843 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008092/0.1787, allocations: 408.3 kB / 0.5847 GB, free: 7.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.1787, allocations: 0 / 0.5847 GB, free: 7.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.1788, allocations: 48.38 kB / 0.5848 GB, free: 7.203 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.1794, allocations: 95.3 kB / 0.5849 GB, free: 7.117 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008528/0.1879, allocations: 6.116 MB / 0.5908 GB, free: 356 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2327/0.4207, allocations: 0.9785 MB / 0.5918 GB, free: 35.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005208/0.4212, allocations: 208.5 kB / 0.592 GB, free: 35.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.4215, allocations: 232.9 kB / 0.5922 GB, free: 35.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4215, allocations: 0 / 0.5922 GB, free: 35.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.4548, allocations: 11.11 MB / 0.6031 GB, free: 34.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.703/10.16, allocations: 4.594 kB / 0.6031 GB, free: 34.2 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.534032233990729]