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.00158/0.00158, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001986/0.001986, allocations: 209.8 kB / 24.54 MB, free: 4.055 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.503/1.503, allocations: 230.3 MB / 258 MB, free: 8.234 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.2794/0.2794, allocations: 46.89 MB / 361.3 MB, free: 4.445 MB / 286.1 MB " [Timeout remaining time 179] 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.002332/0.002332, allocations: 76.16 kB / 0.4966 GB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.306, allocations: 66.04 MB / 0.5611 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007956/0.314, allocations: 6.287 MB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004702/0.3187, allocations: 2.01 MB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005287/0.3192, allocations: 31.88 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.3206, allocations: 0.6151 MB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005163/0.3211, allocations: 206.9 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.3214, allocations: 59.88 kB / 0.5701 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.3219, allocations: 418.1 kB / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005844/0.3225, allocations: 375.3 kB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.3228, allocations: 223.2 kB / 0.571 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.3232, allocations: 298.8 kB / 0.5713 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.3233, allocations: 40 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.3235, allocations: 91.88 kB / 0.5714 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.3238, allocations: 267.2 kB / 0.5717 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.3241, allocations: 318 kB / 0.572 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008907/0.325, allocations: 0.8167 MB / 0.5728 GB, free: 8.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.325, allocations: 0 / 0.5728 GB, free: 8.602 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.325, allocations: 0 / 0.5728 GB, free: 8.602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.325, allocations: 7.938 kB / 0.5728 GB, free: 8.594 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.001532/0.3265, allocations: 0.9688 MB / 0.5738 GB, free: 7.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3266, allocations: 12.03 kB / 0.5738 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.3267, allocations: 114.7 kB / 0.5739 GB, free: 7.441 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007675/0.3275, allocations: 156.3 kB / 0.574 GB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007252/0.3282, allocations: 450 kB / 0.5745 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.3282, allocations: 29.36 kB / 0.5745 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.879e-05/0.3283, allocations: 47.92 kB / 0.5745 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.3298, allocations: 1.085 MB / 0.5756 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3298, allocations: 3.938 kB / 0.5756 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.3298, allocations: 23.98 kB / 0.5756 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003502/0.3302, allocations: 184.5 kB / 0.5758 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3313, allocations: 0.7126 MB / 0.5765 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00443/0.3358, allocations: 4.651 MB / 0.581 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.3359, allocations: 66.47 kB / 0.5811 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3361, allocations: 44.91 kB / 0.5811 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3361, allocations: 7.984 kB / 0.5811 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.3361, allocations: 34.5 kB / 0.5812 GB, free: 15.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.3361, allocations: 0 / 0.5812 GB, free: 15.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005338/0.3367, allocations: 217.1 kB / 0.5814 GB, free: 15.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.3367, allocations: 51.41 kB / 0.5814 GB, free: 15.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009824/0.3377, allocations: 0.8127 MB / 0.5822 GB, free: 14.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3377, allocations: 29.7 kB / 0.5823 GB, free: 14.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.3381, allocations: 0.5179 MB / 0.5828 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.3382, allocations: 31.83 kB / 0.5828 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.3384, allocations: 174.5 kB / 0.583 GB, free: 13.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3385, allocations: 374.8 kB / 0.5833 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.3388, allocations: 181.9 kB / 0.5835 GB, free: 13.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007521/0.3396, allocations: 0.7428 MB / 0.5842 GB, free: 12.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.3407, allocations: 0.9665 MB / 0.5852 GB, free: 10.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.3407, allocations: 8 kB / 0.5852 GB, free: 10.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001388/0.3421, allocations: 0.8762 MB / 0.586 GB, free: 10.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.3421, allocations: 14.19 kB / 0.586 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.3422, allocations: 20 kB / 0.586 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-05/0.3422, allocations: 31.94 kB / 0.5861 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.3427, allocations: 180.2 kB / 0.5863 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.633e-05/0.3427, allocations: 35.86 kB / 0.5863 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.3433, allocations: 123.2 kB / 0.5864 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.3433, allocations: 48 kB / 0.5864 GB, free: 9.578 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.0004235/0.3437, allocations: 369.1 kB / 0.5868 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.3438, allocations: 59.58 kB / 0.5869 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.357e-05/0.3439, allocations: 73.3 kB / 0.5869 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3439, allocations: 0 / 0.5869 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3439, allocations: 4 kB / 0.5869 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3439, allocations: 192 / 0.5869 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.3445, allocations: 0.4896 MB / 0.5874 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3445, allocations: 3.984 kB / 0.5874 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/0.3446, allocations: 15.92 kB / 0.5874 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3446, allocations: 3.984 kB / 0.5874 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3446, allocations: 3.938 kB / 0.5874 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3446, allocations: 4 kB / 0.5874 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3446, allocations: 0 / 0.5874 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.345, allocations: 271 kB / 0.5877 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.3451, allocations: 128.7 kB / 0.5878 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.3452, allocations: 11.92 kB / 0.5878 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.3454, allocations: 4 kB / 0.5878 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3454, allocations: 7.984 kB / 0.5878 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3454, allocations: 7.984 kB / 0.5879 GB, free: 8.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000663/0.3461, allocations: 0.5341 MB / 0.5884 GB, free: 7.508 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3461, allocations: 0 / 0.5884 GB, free: 7.508 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00065/0.3468, allocations: 139.7 kB / 0.5885 GB, free: 7.371 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.0007317/0.3475, allocations: 0.8018 MB / 0.5893 GB, free: 6.543 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007272/0.3482, allocations: 408.5 kB / 0.5897 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3482, allocations: 192 / 0.5897 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3483, allocations: 55.88 kB / 0.5897 GB, free: 6.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.3489, allocations: 86.89 kB / 0.5898 GB, free: 6.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007841/0.3567, allocations: 6.103 MB / 0.5958 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.3574, allocations: 0.9911 MB / 0.5967 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005069/0.3579, allocations: 208.8 kB / 0.5969 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.3582, allocations: 231.4 kB / 0.5972 GB, free: 13.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3582, allocations: 0 / 0.5972 GB, free: 13.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.3951, allocations: 11.58 MB / 0.6085 GB, free: 2.332 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.766/10.16, allocations: 18.77 kB / 0.6085 GB, free: 2.32 MB / 446.1 MB " [Timeout remaining time 650] (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.0.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: 13.289948879973963]