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.001419/0.001419, 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.001671/0.001671, 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2276/0.2276, allocations: 46.96 MB / 360.9 MB, free: 4.012 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.002045/0.002045, allocations: 63.91 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3137, allocations: 66.03 MB / 0.5606 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007302/0.321, allocations: 5.604 MB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004431/0.3254, allocations: 1.873 MB / 0.5679 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.326, allocations: 27.94 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.3274, allocations: 0.6034 MB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005286/0.3279, allocations: 198.9 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.3282, allocations: 67.8 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.3288, allocations: 418.1 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006288/0.3294, allocations: 423 kB / 0.5696 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.3297, allocations: 227 kB / 0.5698 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.3302, allocations: 278.9 kB / 0.5701 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.3303, allocations: 36 kB / 0.5701 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.3305, allocations: 95.88 kB / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.3307, allocations: 267.2 kB / 0.5704 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.331, allocations: 234.5 kB / 0.5707 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009141/0.3319, allocations: 0.8322 MB / 0.5715 GB, free: 8.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3319, allocations: 0 / 0.5715 GB, free: 8.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3319, allocations: 4 kB / 0.5715 GB, free: 8.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.3319, allocations: 0 / 0.5715 GB, free: 8.871 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.001456/0.3333, allocations: 0.8935 MB / 0.5724 GB, free: 7.945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3334, allocations: 8.031 kB / 0.5724 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.3335, allocations: 110.7 kB / 0.5725 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007325/0.3342, allocations: 156.2 kB / 0.5726 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.335, allocations: 392.2 kB / 0.573 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.335, allocations: 29.36 kB / 0.573 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.3351, allocations: 47.92 kB / 0.5731 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.3365, allocations: 1.078 MB / 0.5741 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.3365, allocations: 7.938 kB / 0.5741 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.3365, allocations: 19.98 kB / 0.5741 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003598/0.3369, allocations: 200.4 kB / 0.5743 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.3381, allocations: 0.7087 MB / 0.575 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004245/0.3423, allocations: 4.463 MB / 0.5794 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.3425, allocations: 54.47 kB / 0.5794 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3426, allocations: 48.91 kB / 0.5795 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3426, allocations: 3.984 kB / 0.5795 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.3426, allocations: 34.56 kB / 0.5795 GB, free: 272 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.3426, allocations: 0 / 0.5795 GB, free: 272 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005006/0.3431, allocations: 225 kB / 0.5797 GB, free: 40 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.3432, allocations: 51.41 kB / 0.5798 GB, free: 15.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/0.3442, allocations: 0.8553 MB / 0.5806 GB, free: 15.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3442, allocations: 25.7 kB / 0.5806 GB, free: 15.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.3446, allocations: 0.5218 MB / 0.5812 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3446, allocations: 19.89 kB / 0.5812 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.3448, allocations: 178.5 kB / 0.5813 GB, free: 14.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.345, allocations: 374.8 kB / 0.5817 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.3453, allocations: 181.9 kB / 0.5819 GB, free: 13.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/0.3461, allocations: 0.7351 MB / 0.5826 GB, free: 12.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.3472, allocations: 0.9742 MB / 0.5835 GB, free: 11.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.3472, allocations: 8 kB / 0.5836 GB, free: 11.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001387/0.3486, allocations: 0.8728 MB / 0.5844 GB, free: 10.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.3486, allocations: 15.98 kB / 0.5844 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.3487, allocations: 20 kB / 0.5844 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.816e-05/0.3487, allocations: 36 kB / 0.5845 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.3492, allocations: 175.7 kB / 0.5846 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.335e-05/0.3492, allocations: 35.86 kB / 0.5847 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/0.3497, allocations: 123.1 kB / 0.5848 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.3498, allocations: 48 kB / 0.5848 GB, free: 10.18 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.0004005/0.3502, allocations: 359.8 kB / 0.5852 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/0.3503, allocations: 59.58 kB / 0.5852 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.479e-05/0.3504, allocations: 77.3 kB / 0.5853 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3504, allocations: 0 / 0.5853 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3504, allocations: 0 / 0.5853 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3504, allocations: 3.938 kB / 0.5853 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.3509, allocations: 452.5 kB / 0.5857 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3509, allocations: 4 kB / 0.5858 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.102e-05/0.351, allocations: 11.98 kB / 0.5858 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.351, allocations: 4 kB / 0.5858 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.351, allocations: 3.938 kB / 0.5858 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.351, allocations: 0 / 0.5858 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.351, allocations: 4 kB / 0.5858 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.3514, allocations: 279 kB / 0.586 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3515, allocations: 59.55 kB / 0.5861 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.3516, allocations: 4.172 kB / 0.5861 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.3518, allocations: 7.984 kB / 0.5861 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.3518, allocations: 7.984 kB / 0.5861 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.3518, allocations: 3.984 kB / 0.5861 GB, free: 8.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006533/0.3525, allocations: 0.5341 MB / 0.5866 GB, free: 8.262 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3525, allocations: 4 kB / 0.5866 GB, free: 8.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006266/0.3531, allocations: 139.7 kB / 0.5868 GB, free: 8.121 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.000706/0.3538, allocations: 0.7979 MB / 0.5876 GB, free: 7.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006834/0.3545, allocations: 415.4 kB / 0.588 GB, free: 6.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3545, allocations: 0 / 0.588 GB, free: 6.895 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3546, allocations: 43.95 kB / 0.588 GB, free: 6.852 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.3551, allocations: 90.89 kB / 0.5881 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/0.3626, allocations: 6.118 MB / 0.5941 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.363, allocations: 389.5 kB / 0.5944 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004685/0.3635, allocations: 204.9 kB / 0.5946 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.3638, allocations: 231.3 kB / 0.5948 GB, free: 15.17 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3638, allocations: 0 / 0.5948 GB, free: 15.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/0.4036, allocations: 11.76 MB / 0.6063 GB, free: 3.648 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.1, allocations: 6.203 kB / 0.6063 GB, free: 3.648 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: 15.06923492019996]