Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002315/0.002315, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 217 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2413/0.2413, allocations: 46.92 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 75.89 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3482, allocations: 66.08 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008802/0.357, allocations: 6.299 MB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004657/0.3617, allocations: 1.998 MB / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008544/0.3625, allocations: 27.94 kB / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.3641, allocations: 0.6229 MB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006222/0.3647, allocations: 206.9 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.365, allocations: 63.86 kB / 0.5705 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005812/0.3656, allocations: 418.1 kB / 0.5709 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006457/0.3662, allocations: 426.9 kB / 0.5713 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.3666, allocations: 231 kB / 0.5715 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004634/0.367, allocations: 294.9 kB / 0.5718 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.3671, allocations: 40 kB / 0.5719 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.3673, allocations: 91.88 kB / 0.5719 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.3676, allocations: 263.2 kB / 0.5722 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.3679, allocations: 318 kB / 0.5725 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3689, allocations: 0.8244 MB / 0.5733 GB, free: 8.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3689, allocations: 0 / 0.5733 GB, free: 8.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3689, allocations: 0 / 0.5733 GB, free: 8.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3689, allocations: 0 / 0.5733 GB, free: 8.152 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.001716/0.3707, allocations: 0.8818 MB / 0.5742 GB, free: 7.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3707, allocations: 15.97 kB / 0.5742 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.484e-05/0.3707, allocations: 17.19 kB / 0.5742 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.3709, allocations: 118.7 kB / 0.5743 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007956/0.3717, allocations: 156.2 kB / 0.5745 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/0.3724, allocations: 388.2 kB / 0.5748 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.3724, allocations: 33.11 kB / 0.5749 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.3725, allocations: 43.97 kB / 0.5749 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.374, allocations: 1.085 MB / 0.576 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.374, allocations: 7.938 kB / 0.576 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.3741, allocations: 15.98 kB / 0.576 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003626/0.3744, allocations: 200.4 kB / 0.5762 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.3756, allocations: 0.7126 MB / 0.5769 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.3807, allocations: 4.607 MB / 0.5814 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3808, allocations: 62.47 kB / 0.5814 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.3809, allocations: 44.91 kB / 0.5815 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.381, allocations: 0 / 0.5815 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.381, allocations: 42.55 kB / 0.5815 GB, free: 15.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.381, allocations: 4 kB / 0.5815 GB, free: 15.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005659/0.3816, allocations: 209.1 kB / 0.5817 GB, free: 15.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.3816, allocations: 59.34 kB / 0.5818 GB, free: 15.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.3826, allocations: 0.8166 MB / 0.5826 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3827, allocations: 25.7 kB / 0.5826 GB, free: 14.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.3831, allocations: 0.5218 MB / 0.5831 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.3831, allocations: 31.89 kB / 0.5831 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.3834, allocations: 174.5 kB / 0.5833 GB, free: 13.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.3836, allocations: 370.8 kB / 0.5836 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.3839, allocations: 181.9 kB / 0.5838 GB, free: 12.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000807/0.3847, allocations: 0.739 MB / 0.5845 GB, free: 11.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.3859, allocations: 0.9742 MB / 0.5855 GB, free: 10.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.3859, allocations: 8 kB / 0.5855 GB, free: 10.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001547/0.3874, allocations: 0.8727 MB / 0.5864 GB, free: 9.766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.3874, allocations: 12 kB / 0.5864 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.3875, allocations: 28.09 kB / 0.5864 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.838e-05/0.3875, allocations: 28 kB / 0.5864 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.388, allocations: 175.7 kB / 0.5866 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.58e-05/0.388, allocations: 35.86 kB / 0.5866 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.3886, allocations: 123.1 kB / 0.5867 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.3887, allocations: 48 kB / 0.5868 GB, free: 9.324 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.0004422/0.3891, allocations: 365.2 kB / 0.5871 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.589e-05/0.3892, allocations: 63.52 kB / 0.5872 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.917e-05/0.3893, allocations: 69.3 kB / 0.5873 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3893, allocations: 4.188 kB / 0.5873 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3893, allocations: 0 / 0.5873 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3893, allocations: 3.984 kB / 0.5873 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.39, allocations: 476.4 kB / 0.5877 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.39, allocations: 0 / 0.5877 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.156e-05/0.3901, allocations: 11.98 kB / 0.5877 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3901, allocations: 0 / 0.5877 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3901, allocations: 11.92 kB / 0.5877 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3901, allocations: 4 kB / 0.5877 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3901, allocations: 0 / 0.5877 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.3905, allocations: 267 kB / 0.588 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.3907, allocations: 55.58 kB / 0.5881 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.3907, allocations: 3.938 kB / 0.5881 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.3909, allocations: 19.98 kB / 0.5881 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.391, allocations: 7.984 kB / 0.5881 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.391, allocations: 3.984 kB / 0.5881 GB, free: 7.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006709/0.3917, allocations: 0.5263 MB / 0.5886 GB, free: 7.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3917, allocations: 3.938 kB / 0.5886 GB, free: 7.383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007185/0.3924, allocations: 135.8 kB / 0.5887 GB, free: 7.25 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.000726/0.3931, allocations: 0.8018 MB / 0.5895 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007429/0.3938, allocations: 411.9 kB / 0.5899 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3938, allocations: 0 / 0.5899 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.394, allocations: 43.95 kB / 0.59 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.3945, allocations: 94.88 kB / 0.59 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009718/0.4042, allocations: 6.122 MB / 0.596 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009625/0.4052, allocations: 0.9872 MB / 0.597 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007555/0.4059, allocations: 204.8 kB / 0.5972 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.4064, allocations: 231.4 kB / 0.5974 GB, free: 13.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4064, allocations: 4 kB / 0.5974 GB, free: 13.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/0.4541, allocations: 11.73 MB / 0.6089 GB, free: 2.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.43, allocations: 8 kB / 0.6089 GB, free: 2.082 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.780675619025715]