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.001317/0.001317, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.00145/0.00145, allocations: 212.6 kB / 24.51 MB, free: 3.938 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.266/0.266, allocations: 46.95 MB / 361.7 MB, free: 4.129 MB / 286.1 MB " [Timeout remaining time 179] 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.001959/0.001959, allocations: 67.91 kB / 0.4969 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3307, allocations: 66.03 MB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007905/0.3386, allocations: 5.572 MB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004079/0.3426, allocations: 1.873 MB / 0.5686 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007516/0.3434, allocations: 31.88 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.345, allocations: 0.5879 MB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006326/0.3456, allocations: 210.9 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.3459, allocations: 59.88 kB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006864/0.3466, allocations: 414.2 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.3473, allocations: 422.9 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004627/0.3478, allocations: 227.1 kB / 0.5705 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005255/0.3483, allocations: 298.9 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.3484, allocations: 36 kB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.3487, allocations: 91.88 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.349, allocations: 267.2 kB / 0.5712 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.3492, allocations: 242.4 kB / 0.5714 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.3503, allocations: 0.8284 MB / 0.5722 GB, free: 9.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3503, allocations: 0 / 0.5722 GB, free: 9.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3503, allocations: 0 / 0.5722 GB, free: 9.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.3503, allocations: 0 / 0.5722 GB, free: 9.059 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.001641/0.3519, allocations: 0.8935 MB / 0.5731 GB, free: 8.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.352, allocations: 16.02 kB / 0.5731 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.375e-05/0.352, allocations: 13.19 kB / 0.5731 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.3522, allocations: 110.7 kB / 0.5732 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007944/0.3529, allocations: 156.2 kB / 0.5734 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.3536, allocations: 388.2 kB / 0.5737 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.3536, allocations: 33.11 kB / 0.5738 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.3537, allocations: 43.98 kB / 0.5738 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.3552, allocations: 1.089 MB / 0.5749 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.3552, allocations: 3.938 kB / 0.5749 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.3552, allocations: 23.98 kB / 0.5749 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003663/0.3556, allocations: 184.5 kB / 0.5751 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3568, allocations: 0.7204 MB / 0.5758 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004291/0.3611, allocations: 4.459 MB / 0.5801 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.3612, allocations: 54.53 kB / 0.5802 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3614, allocations: 52.91 kB / 0.5802 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3614, allocations: 3.984 kB / 0.5802 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3614, allocations: 34.5 kB / 0.5803 GB, free: 432 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.854e-06/0.3614, allocations: 0 / 0.5803 GB, free: 432 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.000529/0.3619, allocations: 221 kB / 0.5805 GB, free: 204 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.362, allocations: 55.41 kB / 0.5805 GB, free: 136 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.363, allocations: 0.8205 MB / 0.5813 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.363, allocations: 29.7 kB / 0.5814 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000432/0.3635, allocations: 0.5179 MB / 0.5819 GB, free: 14.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.3635, allocations: 23.89 kB / 0.5819 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.3637, allocations: 170.5 kB / 0.5821 GB, free: 14.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3639, allocations: 378.8 kB / 0.5824 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.3642, allocations: 181.9 kB / 0.5826 GB, free: 13.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/0.365, allocations: 0.735 MB / 0.5833 GB, free: 12.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.3661, allocations: 0.9743 MB / 0.5843 GB, free: 11.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.3661, allocations: 8 kB / 0.5843 GB, free: 11.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00145/0.3676, allocations: 0.8686 MB / 0.5851 GB, free: 10.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.3676, allocations: 16 kB / 0.5851 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.3676, allocations: 23.94 kB / 0.5852 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.3677, allocations: 24 kB / 0.5852 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.3682, allocations: 183.6 kB / 0.5854 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.014e-05/0.3682, allocations: 43.86 kB / 0.5854 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/0.3688, allocations: 123.4 kB / 0.5855 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.3688, allocations: 52 kB / 0.5856 GB, free: 10.38 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.0004249/0.3693, allocations: 355.9 kB / 0.5859 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/0.3694, allocations: 63.58 kB / 0.586 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.3695, allocations: 65.3 kB / 0.586 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3695, allocations: 0 / 0.586 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3695, allocations: 0 / 0.586 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3695, allocations: 0 / 0.586 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.37, allocations: 464.5 kB / 0.5865 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.37, allocations: 0 / 0.5865 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.3701, allocations: 23.86 kB / 0.5865 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3701, allocations: 0 / 0.5865 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3702, allocations: 3.938 kB / 0.5865 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3702, allocations: 0 / 0.5865 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3702, allocations: 0 / 0.5865 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.3705, allocations: 271 kB / 0.5868 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3707, allocations: 59.56 kB / 0.5868 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.3707, allocations: 4.172 kB / 0.5868 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.3709, allocations: 11.98 kB / 0.5868 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.371, allocations: 7.984 kB / 0.5868 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.371, allocations: 7.984 kB / 0.5868 GB, free: 8.988 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000653/0.3716, allocations: 0.5302 MB / 0.5874 GB, free: 8.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3716, allocations: 0 / 0.5874 GB, free: 8.461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006748/0.3723, allocations: 139.7 kB / 0.5875 GB, free: 8.324 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.0007409/0.3731, allocations: 0.8096 MB / 0.5883 GB, free: 7.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007251/0.3738, allocations: 400.6 kB / 0.5887 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3738, allocations: 0 / 0.5887 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3739, allocations: 55.94 kB / 0.5887 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.3745, allocations: 91.02 kB / 0.5888 GB, free: 6.961 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007958/0.3824, allocations: 6.126 MB / 0.5948 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.3829, allocations: 385.5 kB / 0.5952 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005437/0.3835, allocations: 208.9 kB / 0.5954 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.3838, allocations: 235.3 kB / 0.5956 GB, free: 15.35 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3838, allocations: 4 kB / 0.5956 GB, free: 15.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/0.421, allocations: 11.63 MB / 0.6069 GB, free: 3.992 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.76, allocations: 11.94 kB / 0.607 GB, free: 3.984 MB / 446.1 MB " [Timeout remaining time 646] (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: 17.146918629994616]