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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 117.6 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2213/0.2213, allocations: 44.91 MB / 349.6 MB, free: 1.723 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 62.89 kB / 491.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1252, allocations: 64.25 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008398/0.1336, allocations: 6.392 MB / 0.5493 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.1378, allocations: 1.955 MB / 0.5512 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005899/0.1384, allocations: 28 kB / 0.5512 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1398, allocations: 0.6189 MB / 0.5518 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005766/0.1404, allocations: 222.8 kB / 0.552 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.1406, allocations: 51.88 kB / 0.5521 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005972/0.1412, allocations: 462 kB / 0.5525 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006304/0.1418, allocations: 446.8 kB / 0.5529 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.1421, allocations: 239 kB / 0.5532 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.1426, allocations: 318.7 kB / 0.5535 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-05/0.1427, allocations: 44 kB / 0.5535 GB, free: 9.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.1429, allocations: 87.89 kB / 0.5536 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.1432, allocations: 299 kB / 0.5539 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.1435, allocations: 349.8 kB / 0.5542 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.1445, allocations: 0.9138 MB / 0.5551 GB, free: 7.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1445, allocations: 0 / 0.5551 GB, free: 7.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1445, allocations: 0 / 0.5551 GB, free: 7.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.1445, allocations: 0 / 0.5551 GB, free: 7.66 MB / 414.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.001711/0.1463, allocations: 1.027 MB / 0.5561 GB, free: 6.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1463, allocations: 8.031 kB / 0.5561 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.1464, allocations: 123.3 kB / 0.5562 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005404/0.147, allocations: 140.2 kB / 0.5564 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007831/0.1478, allocations: 457.9 kB / 0.5568 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.1478, allocations: 33.36 kB / 0.5568 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.1479, allocations: 47.92 kB / 0.5569 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.1496, allocations: 1.241 MB / 0.5581 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.1496, allocations: 3.938 kB / 0.5581 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.1496, allocations: 23.97 kB / 0.5581 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003988/0.15, allocations: 248.8 kB / 0.5583 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.1513, allocations: 0.7999 MB / 0.5591 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005192/0.1565, allocations: 5.051 MB / 0.5641 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1567, allocations: 66.5 kB / 0.5641 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1568, allocations: 48.89 kB / 0.5642 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.1568, allocations: 4 kB / 0.5642 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1569, allocations: 34.56 kB / 0.5642 GB, free: 13.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.255e-06/0.1569, allocations: 0 / 0.5642 GB, free: 13.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005485/0.1574, allocations: 213.1 kB / 0.5644 GB, free: 13.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1575, allocations: 59.34 kB / 0.5645 GB, free: 13.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.1585, allocations: 0.8556 MB / 0.5653 GB, free: 12.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1585, allocations: 29.7 kB / 0.5653 GB, free: 12.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.159, allocations: 0.5575 MB / 0.5659 GB, free: 12.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.159, allocations: 23.89 kB / 0.5659 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.1592, allocations: 182.4 kB / 0.5661 GB, free: 11.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1594, allocations: 370.8 kB / 0.5664 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.1597, allocations: 181.9 kB / 0.5666 GB, free: 11.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008679/0.1605, allocations: 0.7351 MB / 0.5673 GB, free: 10.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.1617, allocations: 0.9742 MB / 0.5683 GB, free: 9.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.1618, allocations: 15.92 kB / 0.5683 GB, free: 9.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00144/0.1632, allocations: 0.8767 MB / 0.5691 GB, free: 8.219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.1632, allocations: 16.03 kB / 0.5692 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.1632, allocations: 20 kB / 0.5692 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.162e-05/0.1633, allocations: 28 kB / 0.5692 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.1638, allocations: 171.7 kB / 0.5694 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.003e-05/0.1638, allocations: 39.86 kB / 0.5694 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.1644, allocations: 123.1 kB / 0.5695 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.1645, allocations: 48 kB / 0.5696 GB, free: 7.781 MB / 430.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.0005157/0.165, allocations: 399.6 kB / 0.5699 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1651, allocations: 67.56 kB / 0.57 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.1652, allocations: 61.45 kB / 0.5701 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1652, allocations: 4.188 kB / 0.5701 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1652, allocations: 0 / 0.5701 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1652, allocations: 3.984 kB / 0.5701 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.166, allocations: 0.5559 MB / 0.5706 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.166, allocations: 0 / 0.5706 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-05/0.1661, allocations: 11.98 kB / 0.5706 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1661, allocations: 4 kB / 0.5706 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1661, allocations: 4 kB / 0.5706 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1661, allocations: 0 / 0.5706 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1661, allocations: 0 / 0.5706 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.1665, allocations: 274.9 kB / 0.5709 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.1666, allocations: 140.7 kB / 0.571 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.1667, allocations: 4 kB / 0.571 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.1669, allocations: 11.92 kB / 0.571 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.1669, allocations: 7.984 kB / 0.5711 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1669, allocations: 0 / 0.5711 GB, free: 6.145 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006865/0.1676, allocations: 0.5576 MB / 0.5716 GB, free: 5.594 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1676, allocations: 0 / 0.5716 GB, free: 5.594 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006994/0.1683, allocations: 155.6 kB / 0.5718 GB, free: 5.441 MB / 430.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.0007785/0.1691, allocations: 0.8056 MB / 0.5725 GB, free: 4.609 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.1698, allocations: 415.6 kB / 0.5729 GB, free: 4.207 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1699, allocations: 0 / 0.5729 GB, free: 4.207 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.17, allocations: 43.95 kB / 0.573 GB, free: 4.164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.1706, allocations: 108 kB / 0.5731 GB, free: 4.062 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008691/0.1792, allocations: 6.305 MB / 0.5792 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/0.1801, allocations: 1.026 MB / 0.5802 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005925/0.1806, allocations: 208.9 kB / 0.5804 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.181, allocations: 259.3 kB / 0.5807 GB, free: 11.59 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.181, allocations: 0 / 0.5807 GB, free: 11.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03813/0.2191, allocations: 11.57 MB / 0.592 GB, free: 156 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.344/9.564, allocations: 11.5 kB / 0.592 GB, free: 148 kB / 446.1 MB " [Timeout remaining time 650] (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 --stepSize=0.00019992 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 12.664081209804863]