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.001899/0.001899, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002549/0.002549, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2337/0.2337, allocations: 44.93 MB / 359.6 MB, free: 6.195 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",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.002106/0.002106, allocations: 71.89 kB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.32, allocations: 65.47 MB / 0.5577 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008079/0.328, allocations: 5.568 MB / 0.5632 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004134/0.3322, allocations: 1.869 MB / 0.565 GB, free: 96 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00071/0.3329, allocations: 27.94 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.3345, allocations: 0.5917 MB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.3351, allocations: 202.9 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.3354, allocations: 67.8 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006507/0.3361, allocations: 414.2 kB / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006687/0.3367, allocations: 426.9 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.3372, allocations: 227.1 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.3376, allocations: 298.8 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.044e-05/0.3377, allocations: 40 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.338, allocations: 87.88 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.3383, allocations: 271.2 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.3386, allocations: 226.6 kB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.3397, allocations: 0.84 MB / 0.5686 GB, free: 12.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3397, allocations: 4 kB / 0.5686 GB, free: 12.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3397, allocations: 0 / 0.5686 GB, free: 12.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3397, allocations: 0 / 0.5686 GB, free: 12.4 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.001626/0.3413, allocations: 0.8857 MB / 0.5695 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3414, allocations: 12.03 kB / 0.5695 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.364e-05/0.3414, allocations: 13.19 kB / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.3415, allocations: 110.7 kB / 0.5696 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008313/0.3424, allocations: 160.2 kB / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.3431, allocations: 392.1 kB / 0.5701 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.3431, allocations: 37.11 kB / 0.5702 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.3432, allocations: 39.98 kB / 0.5702 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.3447, allocations: 1.082 MB / 0.5712 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.3447, allocations: 3.938 kB / 0.5712 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.3448, allocations: 31.91 kB / 0.5713 GB, free: 9.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003484/0.3451, allocations: 192.5 kB / 0.5715 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3464, allocations: 0.7126 MB / 0.5722 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.3509, allocations: 4.455 MB / 0.5765 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.3511, allocations: 66.52 kB / 0.5766 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.3512, allocations: 44.91 kB / 0.5766 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3512, allocations: 0 / 0.5766 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3512, allocations: 34.56 kB / 0.5766 GB, free: 3.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3512, allocations: 0 / 0.5766 GB, free: 3.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005768/0.3518, allocations: 221 kB / 0.5769 GB, free: 3.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.3519, allocations: 55.41 kB / 0.5769 GB, free: 3.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.3529, allocations: 0.8205 MB / 0.5777 GB, free: 2.648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.353, allocations: 29.69 kB / 0.5777 GB, free: 2.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.3534, allocations: 0.5179 MB / 0.5782 GB, free: 2.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.3534, allocations: 31.88 kB / 0.5783 GB, free: 2.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.3537, allocations: 170.5 kB / 0.5784 GB, free: 1.883 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.3539, allocations: 370.8 kB / 0.5788 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.3542, allocations: 181.9 kB / 0.579 GB, free: 1.336 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008064/0.355, allocations: 0.739 MB / 0.5797 GB, free: 324 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.3562, allocations: 0.9742 MB / 0.5806 GB, free: 15.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.3562, allocations: 8 kB / 0.5806 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001537/0.3578, allocations: 0.8723 MB / 0.5815 GB, free: 14.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.3578, allocations: 16 kB / 0.5815 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/0.3578, allocations: 23.94 kB / 0.5815 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.741e-05/0.3579, allocations: 24 kB / 0.5816 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/0.3584, allocations: 172.3 kB / 0.5817 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.805e-05/0.3584, allocations: 47.83 kB / 0.5818 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/0.359, allocations: 123.1 kB / 0.5819 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.3591, allocations: 47.94 kB / 0.5819 GB, free: 13.73 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.0004425/0.3595, allocations: 368 kB / 0.5823 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.3596, allocations: 63.58 kB / 0.5823 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.3597, allocations: 65.31 kB / 0.5824 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3597, allocations: 0 / 0.5824 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3597, allocations: 0 / 0.5824 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3597, allocations: 0 / 0.5824 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.3603, allocations: 472.4 kB / 0.5829 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3604, allocations: 3.984 kB / 0.5829 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.544e-05/0.3604, allocations: 11.98 kB / 0.5829 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3605, allocations: 0 / 0.5829 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3605, allocations: 7.875 kB / 0.5829 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3605, allocations: 0 / 0.5829 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3605, allocations: 0 / 0.5829 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.3609, allocations: 271 kB / 0.5831 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.361, allocations: 63.56 kB / 0.5832 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.361, allocations: 3.938 kB / 0.5832 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.3612, allocations: 4 kB / 0.5832 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.3613, allocations: 19.97 kB / 0.5832 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.3613, allocations: 4 kB / 0.5832 GB, free: 12.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000713/0.362, allocations: 0.5263 MB / 0.5837 GB, free: 11.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.362, allocations: 0 / 0.5837 GB, free: 11.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007122/0.3627, allocations: 135.8 kB / 0.5839 GB, free: 11.66 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.0007734/0.3635, allocations: 0.8096 MB / 0.5847 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008406/0.3644, allocations: 408.6 kB / 0.5851 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3644, allocations: 0 / 0.5851 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.3645, allocations: 43.94 kB / 0.5851 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.3651, allocations: 87.33 kB / 0.5852 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008592/0.3737, allocations: 6.122 MB / 0.5912 GB, free: 3.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.3742, allocations: 393.7 kB / 0.5915 GB, free: 3.133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005506/0.3747, allocations: 204.8 kB / 0.5917 GB, free: 2.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.375, allocations: 235.4 kB / 0.592 GB, free: 2.699 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/0.375, allocations: 0 / 0.592 GB, free: 2.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.4122, allocations: 11.64 MB / 0.6033 GB, free: 7.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.53, allocations: 13.66 kB / 0.6033 GB, free: 7.312 MB / 446.1 MB " [Timeout remaining time 646] (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.91005966393277]