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.001799/0.001799, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002415/0.002415, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2361/0.2361, allocations: 46.94 MB / 360.9 MB, free: 4.289 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.002772/0.002772, allocations: 59.91 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3873, allocations: 66.03 MB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008902/0.3962, allocations: 6.293 MB / 0.5668 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004679/0.4009, allocations: 2.006 MB / 0.5688 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007916/0.4017, allocations: 27.94 kB / 0.5688 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.4032, allocations: 0.619 MB / 0.5694 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006146/0.4038, allocations: 206.9 kB / 0.5696 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.4041, allocations: 63.86 kB / 0.5697 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.4047, allocations: 418.1 kB / 0.5701 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006337/0.4053, allocations: 430.9 kB / 0.5705 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.4057, allocations: 215.2 kB / 0.5707 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.4062, allocations: 302.8 kB / 0.571 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.808e-05/0.4062, allocations: 40 kB / 0.571 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.4064, allocations: 87.94 kB / 0.5711 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.4067, allocations: 267.2 kB / 0.5713 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.407, allocations: 317.9 kB / 0.5716 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.4081, allocations: 0.8283 MB / 0.5725 GB, free: 8.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4081, allocations: 0 / 0.5725 GB, free: 8.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4081, allocations: 0 / 0.5725 GB, free: 8.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.4081, allocations: 0 / 0.5725 GB, free: 8.367 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.001597/0.4097, allocations: 0.8896 MB / 0.5733 GB, free: 7.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4097, allocations: 8.031 kB / 0.5733 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.4099, allocations: 118.7 kB / 0.5734 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007621/0.4106, allocations: 160.2 kB / 0.5736 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.4113, allocations: 384.2 kB / 0.574 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.4114, allocations: 29.36 kB / 0.574 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.4114, allocations: 47.92 kB / 0.574 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.4129, allocations: 1.082 MB / 0.5751 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.4129, allocations: 7.938 kB / 0.5751 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.4129, allocations: 19.98 kB / 0.5751 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003442/0.4133, allocations: 196.4 kB / 0.5753 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.4145, allocations: 0.7165 MB / 0.576 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/0.4188, allocations: 4.603 MB / 0.5805 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.419, allocations: 62.47 kB / 0.5806 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4191, allocations: 48.89 kB / 0.5806 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.4191, allocations: 11.97 kB / 0.5806 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4192, allocations: 30.56 kB / 0.5806 GB, free: 15.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.4192, allocations: 0 / 0.5806 GB, free: 15.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005133/0.4197, allocations: 213.1 kB / 0.5808 GB, free: 15.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.4197, allocations: 59.39 kB / 0.5809 GB, free: 15.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/0.4207, allocations: 0.8166 MB / 0.5817 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4207, allocations: 25.7 kB / 0.5817 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.4211, allocations: 0.5179 MB / 0.5822 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.4212, allocations: 27.89 kB / 0.5823 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.4214, allocations: 182.4 kB / 0.5824 GB, free: 13.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4216, allocations: 370.8 kB / 0.5828 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.4219, allocations: 181.9 kB / 0.583 GB, free: 13.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.4226, allocations: 0.7351 MB / 0.5837 GB, free: 12.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.4238, allocations: 0.9781 MB / 0.5846 GB, free: 10.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.4238, allocations: 8 kB / 0.5846 GB, free: 10.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001422/0.4252, allocations: 0.8681 MB / 0.5855 GB, free: 10 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.4253, allocations: 12.97 kB / 0.5855 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.4253, allocations: 20 kB / 0.5855 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.487e-05/0.4253, allocations: 31.94 kB / 0.5856 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.4258, allocations: 179.6 kB / 0.5857 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.023e-05/0.4259, allocations: 35.86 kB / 0.5858 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.4264, allocations: 123.1 kB / 0.5859 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.4264, allocations: 51.94 kB / 0.5859 GB, free: 9.559 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.0004518/0.4269, allocations: 355.9 kB / 0.5863 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-05/0.427, allocations: 67.5 kB / 0.5863 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.4271, allocations: 69.31 kB / 0.5864 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4271, allocations: 4 kB / 0.5864 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4271, allocations: 0 / 0.5864 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4271, allocations: 0 / 0.5864 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.4277, allocations: 480.4 kB / 0.5869 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4277, allocations: 3.984 kB / 0.5869 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.759e-05/0.4278, allocations: 11.98 kB / 0.5869 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4278, allocations: 0 / 0.5869 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4278, allocations: 3.938 kB / 0.5869 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4278, allocations: 8 kB / 0.5869 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4278, allocations: 4 kB / 0.5869 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.4282, allocations: 271 kB / 0.5871 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.4283, allocations: 59.56 kB / 0.5872 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.4284, allocations: 3.938 kB / 0.5872 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.4285, allocations: 8.234 kB / 0.5872 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.4286, allocations: 11.97 kB / 0.5872 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4286, allocations: 7.938 kB / 0.5872 GB, free: 8.141 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006573/0.4293, allocations: 0.5302 MB / 0.5878 GB, free: 7.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4293, allocations: 0 / 0.5878 GB, free: 7.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006644/0.4299, allocations: 135.8 kB / 0.5879 GB, free: 7.48 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.0007401/0.4307, allocations: 0.8058 MB / 0.5887 GB, free: 6.648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00072/0.4314, allocations: 412.4 kB / 0.5891 GB, free: 6.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4314, allocations: 0 / 0.5891 GB, free: 6.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.4315, allocations: 51.88 kB / 0.5891 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.432, allocations: 85.34 kB / 0.5892 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008416/0.4404, allocations: 6.118 MB / 0.5952 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/0.4411, allocations: 0.987 MB / 0.5961 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005026/0.4416, allocations: 212.9 kB / 0.5963 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.4419, allocations: 231.4 kB / 0.5966 GB, free: 13.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4419, allocations: 0 / 0.5966 GB, free: 13.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.4872, allocations: 11.69 MB / 0.608 GB, free: 2.395 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.04, allocations: 7.25 kB / 0.608 GB, free: 2.391 MB / 446.1 MB " [Timeout remaining time 647] (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: 16.215864195000904]