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.00192/0.00192, 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.002283/0.002283, allocations: 209.4 kB / 23.74 MB, free: 4.66 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.549/1.549, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2369/0.2369, allocations: 46.92 MB / 360.9 MB, free: 4.301 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 67.89 kB / 0.4962 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3563, allocations: 66.04 MB / 0.5607 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008833/0.3651, allocations: 6.304 MB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004221/0.3693, allocations: 1.998 MB / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005572/0.3699, allocations: 31.88 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.3713, allocations: 0.6229 MB / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004803/0.3718, allocations: 206.9 kB / 0.5696 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.372, allocations: 67.86 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005481/0.3726, allocations: 414.1 kB / 0.5701 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006319/0.3732, allocations: 423 kB / 0.5705 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.3736, allocations: 227.1 kB / 0.5707 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.374, allocations: 290.9 kB / 0.571 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.3741, allocations: 36 kB / 0.571 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.3743, allocations: 95.88 kB / 0.5711 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.3745, allocations: 275.2 kB / 0.5714 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.3748, allocations: 318 kB / 0.5717 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000952/0.3758, allocations: 0.8205 MB / 0.5725 GB, free: 8.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3758, allocations: 0 / 0.5725 GB, free: 8.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3758, allocations: 0 / 0.5725 GB, free: 8.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3758, allocations: 0 / 0.5725 GB, free: 8.234 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.001537/0.3774, allocations: 0.8957 MB / 0.5733 GB, free: 7.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3774, allocations: 12.03 kB / 0.5733 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.3775, allocations: 106.7 kB / 0.5734 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007364/0.3783, allocations: 164.2 kB / 0.5736 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/0.379, allocations: 380.2 kB / 0.574 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.379, allocations: 33.36 kB / 0.574 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.515e-05/0.3791, allocations: 43.92 kB / 0.574 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.3806, allocations: 1.089 MB / 0.5751 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.3806, allocations: 3.938 kB / 0.5751 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.3806, allocations: 23.92 kB / 0.5751 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003364/0.381, allocations: 192.5 kB / 0.5753 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.3821, allocations: 0.7087 MB / 0.576 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004387/0.3865, allocations: 4.615 MB / 0.5805 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.3866, allocations: 58.62 kB / 0.5806 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3868, allocations: 44.8 kB / 0.5806 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3868, allocations: 0 / 0.5806 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.3868, allocations: 42.5 kB / 0.5806 GB, free: 15.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.3868, allocations: 0 / 0.5806 GB, free: 15.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005223/0.3873, allocations: 221.2 kB / 0.5809 GB, free: 15.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3874, allocations: 51.41 kB / 0.5809 GB, free: 15.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009929/0.3884, allocations: 0.8205 MB / 0.5817 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3884, allocations: 25.7 kB / 0.5817 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.3888, allocations: 0.5257 MB / 0.5822 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3888, allocations: 27.88 kB / 0.5823 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.389, allocations: 174.5 kB / 0.5824 GB, free: 13.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3892, allocations: 370.8 kB / 0.5828 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.3896, allocations: 181.9 kB / 0.583 GB, free: 13.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/0.3903, allocations: 0.7428 MB / 0.5837 GB, free: 12.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.3915, allocations: 0.9704 MB / 0.5846 GB, free: 10.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.3915, allocations: 8 kB / 0.5846 GB, free: 10.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001377/0.3929, allocations: 0.869 MB / 0.5855 GB, free: 9.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.3929, allocations: 20.03 kB / 0.5855 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.3929, allocations: 20 kB / 0.5855 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/0.393, allocations: 27.94 kB / 0.5856 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.3935, allocations: 183.6 kB / 0.5857 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-05/0.3935, allocations: 35.86 kB / 0.5858 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.394, allocations: 123.1 kB / 0.5859 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.3941, allocations: 48 kB / 0.5859 GB, free: 9.422 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.000411/0.3945, allocations: 359.9 kB / 0.5863 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.498e-05/0.3946, allocations: 63.58 kB / 0.5863 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.21e-05/0.3947, allocations: 69.25 kB / 0.5864 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3947, allocations: 0 / 0.5864 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3947, allocations: 0 / 0.5864 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3947, allocations: 4 kB / 0.5864 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.3953, allocations: 480.4 kB / 0.5869 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3953, allocations: 0 / 0.5869 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.548e-05/0.3954, allocations: 15.92 kB / 0.5869 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3954, allocations: 4 kB / 0.5869 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3954, allocations: 7.875 kB / 0.5869 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3954, allocations: 0 / 0.5869 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3954, allocations: 0 / 0.5869 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.3958, allocations: 267 kB / 0.5871 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3959, allocations: 59.56 kB / 0.5872 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.3959, allocations: 7.938 kB / 0.5872 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.3961, allocations: 4 kB / 0.5872 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.3962, allocations: 15.97 kB / 0.5872 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.3962, allocations: 0 / 0.5872 GB, free: 8.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006956/0.3969, allocations: 0.5302 MB / 0.5877 GB, free: 7.488 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3969, allocations: 0 / 0.5877 GB, free: 7.488 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006575/0.3976, allocations: 135.8 kB / 0.5879 GB, free: 7.355 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.0008129/0.3984, allocations: 0.8019 MB / 0.5887 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007487/0.3991, allocations: 415.6 kB / 0.5891 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3991, allocations: 0 / 0.5891 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.3992, allocations: 51.88 kB / 0.5891 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.3998, allocations: 98.36 kB / 0.5892 GB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008273/0.4081, allocations: 6.107 MB / 0.5952 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008326/0.4089, allocations: 0.9909 MB / 0.5961 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004899/0.4094, allocations: 212.8 kB / 0.5963 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.4097, allocations: 239.3 kB / 0.5966 GB, free: 13.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4097, allocations: 0 / 0.5966 GB, free: 13.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/0.4515, allocations: 11.68 MB / 0.608 GB, free: 2.266 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.92, allocations: 7.625 kB / 0.608 GB, free: 2.262 MB / 446.1 MB " [Timeout remaining time 647] (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.091019947081804]