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.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.001919/0.001919, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002295/0.002295, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.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.2279/0.2279, allocations: 44.91 MB / 358.8 MB, free: 6.289 MB / 286.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.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_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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3158, allocations: 65.47 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.00839/0.3242, allocations: 6.298 MB / 0.5632 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003946/0.3282, allocations: 2.01 MB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006267/0.3288, allocations: 23.94 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.3303, allocations: 0.6307 MB / 0.5658 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.3309, allocations: 202.9 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.3311, allocations: 55.81 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.3319, allocations: 418.2 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007055/0.3326, allocations: 422.9 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.333, allocations: 231.1 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005084/0.3335, allocations: 294.9 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.3336, allocations: 36 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.3338, allocations: 91.88 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.3342, allocations: 275.1 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003807/0.3345, allocations: 314 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.3356, allocations: 0.8283 MB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3356, allocations: 0 / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3356, allocations: 4 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.52e-05/0.3356, allocations: 0 / 0.5688 GB, free: 11.64 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001753/0.3374, allocations: 0.8857 MB / 0.5697 GB, free: 10.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3374, allocations: 8.031 kB / 0.5697 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.3375, allocations: 110.7 kB / 0.5698 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008283/0.3384, allocations: 164.2 kB / 0.57 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/0.3391, allocations: 388.2 kB / 0.5703 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.3392, allocations: 37.36 kB / 0.5704 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.3392, allocations: 39.92 kB / 0.5704 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.3408, allocations: 1.082 MB / 0.5715 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.3409, allocations: 7.938 kB / 0.5715 GB, free: 8.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.3409, allocations: 19.98 kB / 0.5715 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003536/0.3413, allocations: 192.4 kB / 0.5717 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.3426, allocations: 0.7164 MB / 0.5724 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004588/0.3472, allocations: 4.607 MB / 0.5769 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.3473, allocations: 62.45 kB / 0.5769 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3474, allocations: 48.91 kB / 0.577 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.3475, allocations: 0 / 0.577 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3475, allocations: 30.56 kB / 0.577 GB, free: 2.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.3475, allocations: 4 kB / 0.577 GB, free: 2.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005491/0.348, allocations: 221 kB / 0.5772 GB, free: 2.656 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.3481, allocations: 55.41 kB / 0.5773 GB, free: 2.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.3492, allocations: 0.8244 MB / 0.5781 GB, free: 1.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3492, allocations: 25.7 kB / 0.5781 GB, free: 1.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.3496, allocations: 0.5179 MB / 0.5786 GB, free: 1.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.3497, allocations: 27.88 kB / 0.5786 GB, free: 1.168 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.3499, allocations: 166.5 kB / 0.5788 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3501, allocations: 382.8 kB / 0.5792 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.3504, allocations: 185.8 kB / 0.5793 GB, free: 444 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/0.3512, allocations: 0.7273 MB / 0.5801 GB, free: 15.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.3525, allocations: 0.982 MB / 0.581 GB, free: 14.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/0.3526, allocations: 4 kB / 0.581 GB, free: 14.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001525/0.3541, allocations: 0.8683 MB / 0.5819 GB, free: 13.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.3541, allocations: 16 kB / 0.5819 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.3541, allocations: 20 kB / 0.5819 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.203e-05/0.3542, allocations: 28.84 kB / 0.5819 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.3547, allocations: 175.7 kB / 0.5821 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-05/0.3547, allocations: 47.84 kB / 0.5821 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.3553, allocations: 119.1 kB / 0.5823 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.3553, allocations: 52 kB / 0.5823 GB, free: 12.83 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.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.0005651/0.3559, allocations: 363.8 kB / 0.5827 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.356, allocations: 63.58 kB / 0.5827 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.3561, allocations: 61.31 kB / 0.5828 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3561, allocations: 4 kB / 0.5828 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.3561, allocations: 0 / 0.5828 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3561, allocations: 0 / 0.5828 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.3568, allocations: 484.4 kB / 0.5832 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3568, allocations: 0 / 0.5832 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3569, allocations: 11.98 kB / 0.5832 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3569, allocations: 0 / 0.5832 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3569, allocations: 7.938 kB / 0.5833 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.357, allocations: 4 kB / 0.5833 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.357, allocations: 3.938 kB / 0.5833 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.3574, allocations: 275 kB / 0.5835 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.3575, allocations: 59.56 kB / 0.5836 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.3576, allocations: 3.938 kB / 0.5836 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.3578, allocations: 7.984 kB / 0.5836 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.3578, allocations: 7.984 kB / 0.5836 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.3578, allocations: 0 / 0.5836 GB, free: 11.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006565/0.3585, allocations: 0.538 MB / 0.5841 GB, free: 10.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3585, allocations: 0 / 0.5841 GB, free: 10.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006606/0.3592, allocations: 135.8 kB / 0.5843 GB, free: 10.76 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.0007341/0.3599, allocations: 0.8018 MB / 0.585 GB, free: 9.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007321/0.3606, allocations: 408.5 kB / 0.5854 GB, free: 9.535 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3606, allocations: 4.062 kB / 0.5854 GB, free: 9.531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.3607, allocations: 51.94 kB / 0.5855 GB, free: 9.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.3613, allocations: 89.72 kB / 0.5856 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00856/0.3698, allocations: 6.114 MB / 0.5915 GB, free: 2.637 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/0.3706, allocations: 0.9909 MB / 0.5925 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005387/0.3711, allocations: 208.8 kB / 0.5927 GB, free: 1.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.3714, allocations: 231.3 kB / 0.5929 GB, free: 1.184 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3715, allocations: 0 / 0.5929 GB, free: 1.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04321/0.4147, allocations: 11.69 MB / 0.6043 GB, free: 5.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.35, allocations: 2.344 kB / 0.6043 GB, free: 5.66 MB / 446.1 MB " [Timeout remaining time 647] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.49920371011831]