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.001796/0.001796, allocations: 110 kB / 20.43 MB, free: 1.453 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.002234/0.002234, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.474/1.474, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2298/0.2298, allocations: 46.93 MB / 360.8 MB, free: 4.289 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 75.88 kB / 0.4962 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3378, allocations: 66.08 MB / 0.5607 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008654/0.3464, allocations: 6.293 MB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004756/0.3512, allocations: 2.006 MB / 0.5689 GB, free: 12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000988/0.3522, allocations: 27.94 kB / 0.5689 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.3538, allocations: 0.6229 MB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006809/0.3545, allocations: 202.9 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.3548, allocations: 67.8 kB / 0.5697 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005898/0.3554, allocations: 414.2 kB / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006255/0.356, allocations: 426.9 kB / 0.5705 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.3564, allocations: 227.1 kB / 0.5708 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/0.3569, allocations: 298.8 kB / 0.571 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.357, allocations: 40 kB / 0.5711 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.3572, allocations: 91.88 kB / 0.5712 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003167/0.3575, allocations: 267.2 kB / 0.5714 GB, free: 9.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.3579, allocations: 314 kB / 0.5717 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.3591, allocations: 0.8245 MB / 0.5725 GB, free: 8.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3591, allocations: 0 / 0.5725 GB, free: 8.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3591, allocations: 0 / 0.5725 GB, free: 8.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.3591, allocations: 0 / 0.5725 GB, free: 8.203 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.001756/0.3608, allocations: 0.8935 MB / 0.5734 GB, free: 7.277 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3609, allocations: 8.031 kB / 0.5734 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.361, allocations: 110.7 kB / 0.5735 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007983/0.3618, allocations: 164.2 kB / 0.5737 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007533/0.3626, allocations: 388.2 kB / 0.574 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.3626, allocations: 29.36 kB / 0.5741 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.3627, allocations: 47.92 kB / 0.5741 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.3641, allocations: 1.078 MB / 0.5752 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.3642, allocations: 11.88 kB / 0.5752 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-05/0.3642, allocations: 23.97 kB / 0.5752 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003443/0.3646, allocations: 192.4 kB / 0.5754 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.3658, allocations: 0.7126 MB / 0.5761 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004922/0.3707, allocations: 4.603 MB / 0.5806 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.3709, allocations: 58.62 kB / 0.5806 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.371, allocations: 56.8 kB / 0.5807 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3711, allocations: 3.906 kB / 0.5807 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3711, allocations: 34.5 kB / 0.5807 GB, free: 15.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.795e-06/0.3711, allocations: 0 / 0.5807 GB, free: 15.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005675/0.3717, allocations: 221 kB / 0.5809 GB, free: 15.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.3717, allocations: 55.41 kB / 0.581 GB, free: 15.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3728, allocations: 0.8167 MB / 0.5818 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3728, allocations: 25.7 kB / 0.5818 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.3732, allocations: 0.5179 MB / 0.5823 GB, free: 13.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.3732, allocations: 31.86 kB / 0.5823 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.3734, allocations: 170.5 kB / 0.5825 GB, free: 13.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.3736, allocations: 374.8 kB / 0.5829 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.374, allocations: 181.9 kB / 0.583 GB, free: 13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/0.3747, allocations: 0.739 MB / 0.5838 GB, free: 11.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.376, allocations: 0.9742 MB / 0.5847 GB, free: 10.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.376, allocations: 8 kB / 0.5847 GB, free: 10.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001472/0.3775, allocations: 0.8725 MB / 0.5856 GB, free: 9.832 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.3775, allocations: 12 kB / 0.5856 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.3775, allocations: 24 kB / 0.5856 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.926e-05/0.3775, allocations: 27.94 kB / 0.5856 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.3781, allocations: 171.7 kB / 0.5858 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.786e-05/0.3781, allocations: 39.86 kB / 0.5858 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/0.3786, allocations: 127.4 kB / 0.586 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.3787, allocations: 52 kB / 0.586 GB, free: 9.387 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.0004447/0.3791, allocations: 365.4 kB / 0.5864 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-05/0.3792, allocations: 59.58 kB / 0.5864 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.3794, allocations: 69.31 kB / 0.5865 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3794, allocations: 0 / 0.5865 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3794, allocations: 0 / 0.5865 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3794, allocations: 0 / 0.5865 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.38, allocations: 484.4 kB / 0.5869 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.38, allocations: 0 / 0.5869 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.3801, allocations: 11.98 kB / 0.587 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3801, allocations: 7.938 kB / 0.587 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3801, allocations: 3.938 kB / 0.587 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3801, allocations: 4 kB / 0.587 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3801, allocations: 0 / 0.587 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.3805, allocations: 275 kB / 0.5872 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.3806, allocations: 59.56 kB / 0.5873 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.3807, allocations: 7.938 kB / 0.5873 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.3809, allocations: 4 kB / 0.5873 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.3809, allocations: 11.97 kB / 0.5873 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3809, allocations: 0 / 0.5873 GB, free: 7.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006843/0.3816, allocations: 0.5302 MB / 0.5878 GB, free: 7.449 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3816, allocations: 4 kB / 0.5878 GB, free: 7.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006791/0.3823, allocations: 139.7 kB / 0.588 GB, free: 7.309 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.0007545/0.3831, allocations: 0.8018 MB / 0.5887 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007527/0.3838, allocations: 408.2 kB / 0.5891 GB, free: 6.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3838, allocations: 0 / 0.5891 GB, free: 6.086 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.3839, allocations: 48.38 kB / 0.5892 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.3845, allocations: 79.14 kB / 0.5893 GB, free: 5.965 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008214/0.3927, allocations: 6.126 MB / 0.5952 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/0.3934, allocations: 0.9909 MB / 0.5962 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005115/0.3939, allocations: 204.8 kB / 0.5964 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.3943, allocations: 227.4 kB / 0.5966 GB, free: 13.74 MB / 446.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3943, allocations: 4 kB / 0.5966 GB, free: 13.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04403/0.4383, allocations: 11.71 MB / 0.6081 GB, free: 2.176 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.08, allocations: 0 / 0.6081 GB, free: 2.176 MB / 446.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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.160283400997287]