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.001832/0.001832, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002271/0.002271, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2177/0.2177, allocations: 46.93 MB / 361.6 MB, free: 4.277 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.002016/0.002016, allocations: 64.09 kB / 0.4969 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3506, allocations: 66.03 MB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008267/0.3589, allocations: 6.308 MB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004246/0.3631, allocations: 1.998 MB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007835/0.3639, allocations: 31.88 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.3654, allocations: 0.6229 MB / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.3659, allocations: 202.9 kB / 0.5704 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.3662, allocations: 63.86 kB / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.3667, allocations: 418.1 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006094/0.3673, allocations: 426.9 kB / 0.5712 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.3677, allocations: 223.2 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/0.3681, allocations: 294.8 kB / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.3682, allocations: 39.94 kB / 0.5718 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.3684, allocations: 91.94 kB / 0.5719 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.3688, allocations: 275.2 kB / 0.5721 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.3691, allocations: 314 kB / 0.5724 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.3702, allocations: 0.8205 MB / 0.5732 GB, free: 8.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3702, allocations: 0 / 0.5732 GB, free: 8.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3702, allocations: 0 / 0.5732 GB, free: 8.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.3702, allocations: 0 / 0.5732 GB, free: 8.34 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.001711/0.3719, allocations: 0.8935 MB / 0.5741 GB, free: 7.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3719, allocations: 12.03 kB / 0.5741 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.97e-05/0.372, allocations: 13.19 kB / 0.5741 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.3721, allocations: 110.7 kB / 0.5742 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/0.3729, allocations: 160.2 kB / 0.5744 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.3736, allocations: 384.2 kB / 0.5747 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.3737, allocations: 41.11 kB / 0.5748 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.376e-05/0.3738, allocations: 39.98 kB / 0.5748 GB, free: 6.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.3753, allocations: 1.085 MB / 0.5759 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.3753, allocations: 3.938 kB / 0.5759 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.3753, allocations: 23.98 kB / 0.5759 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003553/0.3757, allocations: 188.5 kB / 0.5761 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.3769, allocations: 0.7126 MB / 0.5768 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005127/0.382, allocations: 4.611 MB / 0.5813 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.3822, allocations: 62.47 kB / 0.5813 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3824, allocations: 44.84 kB / 0.5814 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3824, allocations: 8 kB / 0.5814 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.3824, allocations: 30.56 kB / 0.5814 GB, free: 15.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 3.687e-06/0.3824, allocations: 0 / 0.5814 GB, free: 15.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006148/0.383, allocations: 217.1 kB / 0.5816 GB, free: 15.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.3831, allocations: 55.41 kB / 0.5817 GB, free: 15.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.3842, allocations: 0.8166 MB / 0.5825 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3842, allocations: 29.7 kB / 0.5825 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.3846, allocations: 0.5218 MB / 0.583 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.3847, allocations: 27.89 kB / 0.583 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.3849, allocations: 178.4 kB / 0.5832 GB, free: 13.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3851, allocations: 370.8 kB / 0.5836 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.3854, allocations: 181.9 kB / 0.5837 GB, free: 13.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000752/0.3862, allocations: 0.7351 MB / 0.5845 GB, free: 12.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.3874, allocations: 0.9781 MB / 0.5854 GB, free: 10.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.3874, allocations: 4 kB / 0.5854 GB, free: 10.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001574/0.3889, allocations: 0.8689 MB / 0.5863 GB, free: 9.969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.389, allocations: 12 kB / 0.5863 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/0.389, allocations: 31.92 kB / 0.5863 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.435e-05/0.3891, allocations: 28 kB / 0.5863 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.3896, allocations: 179.6 kB / 0.5865 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.695e-05/0.3896, allocations: 39.8 kB / 0.5865 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006058/0.3902, allocations: 123.1 kB / 0.5867 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/0.3903, allocations: 48 kB / 0.5867 GB, free: 9.516 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.00045/0.3907, allocations: 364.2 kB / 0.5871 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.106e-05/0.3908, allocations: 63.52 kB / 0.5871 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.3909, allocations: 69.3 kB / 0.5872 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3909, allocations: 4 kB / 0.5872 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3909, allocations: 0 / 0.5872 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3909, allocations: 0 / 0.5872 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.3915, allocations: 476.4 kB / 0.5876 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3915, allocations: 0 / 0.5876 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.3916, allocations: 19.92 kB / 0.5877 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3916, allocations: 0 / 0.5877 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3917, allocations: 3.938 kB / 0.5877 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3917, allocations: 4 kB / 0.5877 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3917, allocations: 3.984 kB / 0.5877 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.3921, allocations: 259 kB / 0.5879 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.3922, allocations: 63.56 kB / 0.588 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.888e-05/0.3922, allocations: 3.938 kB / 0.588 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.3924, allocations: 7.984 kB / 0.588 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.3925, allocations: 11.98 kB / 0.588 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3925, allocations: 7.938 kB / 0.588 GB, free: 8.105 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006658/0.3932, allocations: 0.5263 MB / 0.5885 GB, free: 7.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3932, allocations: 0 / 0.5885 GB, free: 7.582 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006953/0.3939, allocations: 139.7 kB / 0.5887 GB, free: 7.445 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.0007743/0.3946, allocations: 0.8057 MB / 0.5894 GB, free: 6.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007988/0.3954, allocations: 411.1 kB / 0.5898 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3954, allocations: 0 / 0.5898 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3956, allocations: 45.45 kB / 0.5899 GB, free: 6.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/0.3962, allocations: 101.6 kB / 0.59 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008789/0.405, allocations: 6.126 MB / 0.596 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/0.4057, allocations: 0.9833 MB / 0.5969 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005169/0.4063, allocations: 204.8 kB / 0.5971 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.4066, allocations: 235.4 kB / 0.5973 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4066, allocations: 0 / 0.5973 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.4445, allocations: 11.72 MB / 0.6088 GB, free: 2.332 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.35, allocations: 11.03 kB / 0.6088 GB, free: 2.324 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: 16.59864523500437]