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.001762/0.001762, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002173/0.002173, allocations: 206 kB / 23.73 MB, free: 4.523 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2219/0.2219, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.001966/0.001966, allocations: 67.91 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3091, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007466/0.3166, allocations: 5.604 MB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.3204, allocations: 1.877 MB / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006496/0.3211, allocations: 31.88 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.3227, allocations: 0.5917 MB / 0.5685 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006144/0.3233, allocations: 210.9 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3236, allocations: 59.88 kB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.3242, allocations: 422.1 kB / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006197/0.3248, allocations: 422.9 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.3251, allocations: 223.1 kB / 0.5698 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004486/0.3256, allocations: 302.9 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.895e-05/0.3257, allocations: 40 kB / 0.5701 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.3259, allocations: 83.89 kB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.3262, allocations: 275.1 kB / 0.5705 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.3264, allocations: 234.4 kB / 0.5707 GB, free: 9.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009488/0.3274, allocations: 0.8323 MB / 0.5715 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3274, allocations: 0 / 0.5715 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3274, allocations: 0 / 0.5715 GB, free: 9.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3274, allocations: 0 / 0.5715 GB, free: 9.008 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.001639/0.329, allocations: 0.8935 MB / 0.5724 GB, free: 8.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3291, allocations: 12.03 kB / 0.5724 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.3292, allocations: 110.7 kB / 0.5725 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007364/0.3299, allocations: 160.2 kB / 0.5726 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.3306, allocations: 388.2 kB / 0.573 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.3306, allocations: 29.36 kB / 0.573 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.3307, allocations: 47.92 kB / 0.5731 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.3321, allocations: 1.078 MB / 0.5741 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.3321, allocations: 7.938 kB / 0.5741 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.3322, allocations: 19.98 kB / 0.5742 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003349/0.3325, allocations: 188.5 kB / 0.5743 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.3336, allocations: 0.7165 MB / 0.575 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/0.3377, allocations: 4.463 MB / 0.5794 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3378, allocations: 54.53 kB / 0.5795 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.3379, allocations: 56.83 kB / 0.5795 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.338, allocations: 4 kB / 0.5795 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.338, allocations: 34.5 kB / 0.5795 GB, free: 400 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.624e-06/0.338, allocations: 0 / 0.5795 GB, free: 400 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004977/0.3385, allocations: 217.1 kB / 0.5797 GB, free: 176 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.3385, allocations: 51.41 kB / 0.5798 GB, free: 112 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009397/0.3395, allocations: 0.8553 MB / 0.5806 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.3395, allocations: 29.7 kB / 0.5807 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.3399, allocations: 0.514 MB / 0.5812 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.3399, allocations: 35.83 kB / 0.5812 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3401, allocations: 170.5 kB / 0.5814 GB, free: 14.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.3404, allocations: 374.8 kB / 0.5817 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.3407, allocations: 177.9 kB / 0.5819 GB, free: 13.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/0.3415, allocations: 0.739 MB / 0.5826 GB, free: 12.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.3428, allocations: 0.9782 MB / 0.5836 GB, free: 11.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.3428, allocations: 4 kB / 0.5836 GB, free: 11.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001435/0.3443, allocations: 0.8727 MB / 0.5844 GB, free: 10.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.3443, allocations: 16 kB / 0.5844 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.3443, allocations: 24 kB / 0.5845 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.564e-05/0.3444, allocations: 31.92 kB / 0.5845 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.3449, allocations: 175.6 kB / 0.5847 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.672e-05/0.3449, allocations: 39.86 kB / 0.5847 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.3454, allocations: 123.1 kB / 0.5848 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.3455, allocations: 52 kB / 0.5849 GB, free: 10.31 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.000429/0.3459, allocations: 352 kB / 0.5852 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.346, allocations: 63.58 kB / 0.5853 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.3461, allocations: 69.3 kB / 0.5853 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3461, allocations: 0 / 0.5853 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3461, allocations: 0 / 0.5853 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3461, allocations: 4 kB / 0.5853 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.3466, allocations: 452.5 kB / 0.5858 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3466, allocations: 0 / 0.5858 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.3467, allocations: 15.92 kB / 0.5858 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3467, allocations: 4 kB / 0.5858 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3467, allocations: 3.938 kB / 0.5858 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3467, allocations: 0 / 0.5858 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3467, allocations: 0 / 0.5858 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.3471, allocations: 275 kB / 0.586 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.3472, allocations: 55.78 kB / 0.5861 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.3473, allocations: 11.88 kB / 0.5861 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.3475, allocations: 7.984 kB / 0.5861 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.3475, allocations: 15.97 kB / 0.5861 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3475, allocations: 7.938 kB / 0.5861 GB, free: 8.922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006398/0.3482, allocations: 0.5302 MB / 0.5867 GB, free: 8.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3482, allocations: 0 / 0.5867 GB, free: 8.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006286/0.3488, allocations: 139.7 kB / 0.5868 GB, free: 8.258 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.0006694/0.3495, allocations: 0.8018 MB / 0.5876 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006684/0.3501, allocations: 412.4 kB / 0.588 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3501, allocations: 0 / 0.588 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.3503, allocations: 43.89 kB / 0.588 GB, free: 6.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.3508, allocations: 102.2 kB / 0.5881 GB, free: 6.898 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007688/0.3584, allocations: 6.118 MB / 0.5941 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.3589, allocations: 381.8 kB / 0.5944 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004849/0.3594, allocations: 212.7 kB / 0.5946 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.3597, allocations: 235.3 kB / 0.5949 GB, free: 15.29 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3597, allocations: 3.938 kB / 0.5949 GB, free: 15.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.399, allocations: 11.98 MB / 0.6066 GB, free: 3.547 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.5, allocations: 6.438 kB / 0.6066 GB, free: 3.543 MB / 446.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_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.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_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: 14.480543101002695]