Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007697/0.0007697, allocations: 75.7 kB / 20.02 MB, free: 4.504 MB / 18.57 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.001171/0.001171, allocations: 166 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8688/0.8688, allocations: 158.6 MB / 185.1 MB, free: 2.992 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1322/0.1322, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 407 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.733e-05, allocations: 5.938 kB / 407 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.004952/0.004969, allocations: 6.307 MB / 413.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.007458, allocations: 1.94 MB / 415.3 MB, free: 9.859 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/0.007824, allocations: 31.88 kB / 415.3 MB, free: 9.828 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009147/0.008738, allocations: 0.6461 MB / 416 MB, free: 9.18 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.009209, allocations: 337.9 kB / 416.3 MB, free: 8.848 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.009349, allocations: 43.83 kB / 416.3 MB, free: 8.805 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.009798, allocations: 0.6299 MB / 417 MB, free: 8.172 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.01026, allocations: 0.5188 MB / 417.5 MB, free: 7.648 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003432/0.0106, allocations: 438.8 kB / 417.9 MB, free: 7.219 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.01099, allocations: 382.9 kB / 418.3 MB, free: 6.844 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.01105, allocations: 60 kB / 418.3 MB, free: 6.785 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.01121, allocations: 119.8 kB / 418.5 MB, free: 6.668 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.01143, allocations: 398.8 kB / 418.9 MB, free: 6.277 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.0116, allocations: 263.1 kB / 419.1 MB, free: 6.02 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008309/0.01243, allocations: 1.249 MB / 420.4 MB, free: 4.766 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.01243, allocations: 0 / 420.4 MB, free: 4.766 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01243, allocations: 0 / 420.4 MB, free: 4.766 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.01245, allocations: 4 kB / 420.4 MB, free: 4.762 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.00116/0.01361, allocations: 1.143 MB / 421.5 MB, free: 3.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.01364, allocations: 8.031 kB / 421.5 MB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.01376, allocations: 161.7 kB / 421.7 MB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.01423, allocations: 192 kB / 421.9 MB, free: 3.223 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.01466, allocations: 454.9 kB / 422.3 MB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.01469, allocations: 45.66 kB / 422.3 MB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.01475, allocations: 64.34 kB / 422.4 MB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.01606, allocations: 1.732 MB / 424.1 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.01607, allocations: 3.938 kB / 424.1 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.01612, allocations: 27.97 kB / 424.2 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003547/0.01647, allocations: 389.2 kB / 424.6 MB, free: 368 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.01761, allocations: 1.168 MB / 425.7 MB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003779/0.02139, allocations: 6.275 MB / 432 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.02162, allocations: 166.5 kB / 432.2 MB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.02173, allocations: 88.78 kB / 432.2 MB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.02176, allocations: 4 kB / 432.2 MB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.02178, allocations: 34.56 kB / 432.3 MB, free: 8.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.425e-06/0.02178, allocations: 4 kB / 432.3 MB, free: 8.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004833/0.02226, allocations: 372.9 kB / 432.7 MB, free: 7.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.0223, allocations: 55.41 kB / 432.7 MB, free: 7.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007401/0.02304, allocations: 1.004 MB / 433.7 MB, free: 6.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.02305, allocations: 33.64 kB / 433.7 MB, free: 6.863 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.02334, allocations: 0.7007 MB / 434.4 MB, free: 6.152 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.02338, allocations: 67.59 kB / 434.5 MB, free: 6.086 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.02352, allocations: 218.4 kB / 434.7 MB, free: 5.867 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.02364, allocations: 390.8 kB / 435.1 MB, free: 5.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.02392, allocations: 261.8 kB / 435.4 MB, free: 5.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.02444, allocations: 0.9449 MB / 436.3 MB, free: 3.926 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008886/0.02533, allocations: 1.297 MB / 437.6 MB, free: 2.277 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.02535, allocations: 8 kB / 437.6 MB, free: 2.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001084/0.02643, allocations: 1.173 MB / 438.8 MB, free: 1.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.02645, allocations: 20.94 kB / 438.8 MB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.02647, allocations: 24 kB / 438.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.02649, allocations: 36 kB / 438.9 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.02687, allocations: 247.5 kB / 439.1 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/0.02689, allocations: 51.78 kB / 439.2 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.02725, allocations: 162.8 kB / 439.3 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.0273, allocations: 64 kB / 439.4 MB, free: 0.4961 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 21 (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 (126): * Single equations (assignments): 126 * 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.0003361/0.02763, allocations: 467.1 kB / 439.8 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.0277, allocations: 79.53 kB / 439.9 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.0281, allocations: 320.2 kB / 440.2 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.02811, allocations: 0 / 440.2 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.02811, allocations: 0 / 440.2 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.02811, allocations: 0 / 440.2 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.02866, allocations: 0.6682 MB / 440.9 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02867, allocations: 4 kB / 440.9 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.02878, allocations: 35.97 kB / 440.9 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.02878, allocations: 0 / 440.9 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.0288, allocations: 7.938 kB / 440.9 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.0288, allocations: 0 / 440.9 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.0288, allocations: 0 / 440.9 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.02917, allocations: 394.9 kB / 441.3 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.02924, allocations: 75.45 kB / 441.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.02927, allocations: 3.938 kB / 441.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.02939, allocations: 15.98 kB / 441.4 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.02945, allocations: 15.97 kB / 441.4 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.02946, allocations: 0 / 441.4 MB, free: 14.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004969/0.02995, allocations: 0.6239 MB / 442.1 MB, free: 13.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02995, allocations: 3.938 kB / 442.1 MB, free: 13.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004793/0.03043, allocations: 219.5 kB / 442.3 MB, free: 13.52 MB / 426.7 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 (13): * Single equations (assignments): 13 * 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.0005981/0.03103, allocations: 0.9343 MB / 443.2 MB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006103/0.03164, allocations: 0.5719 MB / 443.8 MB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.03164, allocations: 0 / 443.8 MB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.03177, allocations: 103.9 kB / 443.9 MB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.03214, allocations: 95.97 kB / 444 MB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007033/0.03918, allocations: 7.724 MB / 451.7 MB, free: 3.277 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.03961, allocations: 0.5422 MB / 452.2 MB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004064/0.04002, allocations: 282 kB / 452.5 MB, free: 2.426 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.04033, allocations: 348.4 kB / 452.9 MB, free: 2.086 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/0.04033, allocations: 0 / 452.9 MB, free: 2.086 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.06485, allocations: 14.22 MB / 467.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.407, allocations: 4.062 kB / 467.1 MB, free: 3.832 MB / 442.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.0004 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.612256240099669] Failed to read output from testmodel.py, exit status != 0: 7.491458392702043 7.696284658 7.681619798 Calling exit ...