Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001738/0.001738, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001704/0.001704, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2438/0.2438, allocations: 44.94 MB / 358.8 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 63.89 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2988, allocations: 65.48 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007429/0.3062, allocations: 5.602 MB / 0.5625 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.3099, allocations: 1.873 MB / 0.5643 GB, free: 8 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005505/0.3105, allocations: 27.92 kB / 0.5643 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.3119, allocations: 0.5995 MB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.3124, allocations: 202.9 kB / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.3126, allocations: 63.86 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.3131, allocations: 414.1 kB / 0.5655 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005542/0.3136, allocations: 430.9 kB / 0.566 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.3139, allocations: 223.2 kB / 0.5662 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004616/0.3144, allocations: 274.9 kB / 0.5664 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/0.3145, allocations: 43.88 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.3147, allocations: 83.95 kB / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.3149, allocations: 267.2 kB / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.3152, allocations: 246.4 kB / 0.567 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.3165, allocations: 0.8361 MB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3165, allocations: 0 / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3165, allocations: 0 / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.3165, allocations: 0 / 0.5679 GB, free: 12.32 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.002096/0.3186, allocations: 0.8818 MB / 0.5687 GB, free: 11.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.3186, allocations: 12.02 kB / 0.5687 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.3188, allocations: 118.6 kB / 0.5688 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.32, allocations: 160.2 kB / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009764/0.321, allocations: 380.3 kB / 0.5694 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.3211, allocations: 37.3 kB / 0.5694 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3212, allocations: 39.92 kB / 0.5694 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.3231, allocations: 1.089 MB / 0.5705 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.3231, allocations: 11.92 kB / 0.5705 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.683e-05/0.3231, allocations: 15.98 kB / 0.5705 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003464/0.3235, allocations: 200.4 kB / 0.5707 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3247, allocations: 0.7048 MB / 0.5714 GB, free: 8.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/0.3295, allocations: 4.463 MB / 0.5758 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3296, allocations: 58.53 kB / 0.5758 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3298, allocations: 44.84 kB / 0.5759 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.3298, allocations: 7.938 kB / 0.5759 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3298, allocations: 30.56 kB / 0.5759 GB, free: 3.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.3298, allocations: 0 / 0.5759 GB, free: 3.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005179/0.3303, allocations: 221.1 kB / 0.5761 GB, free: 3.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.3304, allocations: 55.41 kB / 0.5762 GB, free: 3.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.3314, allocations: 0.8514 MB / 0.577 GB, free: 2.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.3314, allocations: 25.7 kB / 0.577 GB, free: 2.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.3318, allocations: 0.5218 MB / 0.5775 GB, free: 2.004 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.3319, allocations: 27.89 kB / 0.5776 GB, free: 1.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.3321, allocations: 166.5 kB / 0.5777 GB, free: 1.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.3323, allocations: 374.8 kB / 0.5781 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.3326, allocations: 185.8 kB / 0.5782 GB, free: 1.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008256/0.3335, allocations: 0.7351 MB / 0.579 GB, free: 236 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.3346, allocations: 0.9742 MB / 0.5799 GB, free: 14.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.3346, allocations: 12 kB / 0.5799 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001447/0.3361, allocations: 0.8682 MB / 0.5808 GB, free: 14.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.3361, allocations: 12 kB / 0.5808 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.3361, allocations: 24.84 kB / 0.5808 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.844e-05/0.3362, allocations: 31.92 kB / 0.5808 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.3367, allocations: 183.6 kB / 0.581 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.688e-05/0.3367, allocations: 39.86 kB / 0.5811 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005914/0.3373, allocations: 127.1 kB / 0.5812 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.3374, allocations: 44 kB / 0.5812 GB, free: 13.63 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.0004593/0.3378, allocations: 355.9 kB / 0.5816 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/0.3379, allocations: 63.58 kB / 0.5816 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.818e-05/0.338, allocations: 69.3 kB / 0.5817 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.338, allocations: 0 / 0.5817 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.338, allocations: 4 kB / 0.5817 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.338, allocations: 3.938 kB / 0.5817 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.3386, allocations: 448.5 kB / 0.5821 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3386, allocations: 4 kB / 0.5821 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.318e-05/0.3387, allocations: 12.17 kB / 0.5821 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3387, allocations: 0 / 0.5821 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3387, allocations: 7.938 kB / 0.5821 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3387, allocations: 0 / 0.5821 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3387, allocations: 3.984 kB / 0.5821 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.3391, allocations: 275 kB / 0.5824 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.3392, allocations: 59.55 kB / 0.5825 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.3393, allocations: 3.938 kB / 0.5825 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.3395, allocations: 7.984 kB / 0.5825 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.3395, allocations: 7.984 kB / 0.5825 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3395, allocations: 0 / 0.5825 GB, free: 12.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006382/0.3402, allocations: 0.538 MB / 0.583 GB, free: 11.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3402, allocations: 0 / 0.583 GB, free: 11.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006153/0.3408, allocations: 147.6 kB / 0.5832 GB, free: 11.58 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.0006823/0.3415, allocations: 0.8019 MB / 0.5839 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006716/0.3421, allocations: 412.2 kB / 0.5843 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3421, allocations: 0 / 0.5843 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3422, allocations: 47.89 kB / 0.5844 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.3428, allocations: 89.89 kB / 0.5845 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007463/0.3503, allocations: 6.119 MB / 0.5904 GB, free: 3.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.3507, allocations: 389.7 kB / 0.5908 GB, free: 3.051 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004726/0.3512, allocations: 204.7 kB / 0.591 GB, free: 2.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.3515, allocations: 235.3 kB / 0.5912 GB, free: 2.617 MB / 430.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3515, allocations: 0 / 0.5912 GB, free: 2.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0387/0.3902, allocations: 11.75 MB / 0.6027 GB, free: 7.102 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.86, allocations: 7.031 kB / 0.6027 GB, free: 7.098 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 15.005831968039274]