Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.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.001333/0.001333, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001446/0.001446, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.577/1.577, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2525/0.2525, allocations: 46.94 MB / 357.7 MB, free: 10.19 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-beta.om/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.Planes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 79.86 kB / 0.4916 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1434, allocations: 66.05 MB / 0.5561 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01386/0.1573, allocations: 11.55 MB / 0.5674 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007429/0.1647, allocations: 3.072 MB / 0.5704 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.1665, allocations: 67.75 kB / 0.5705 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003448/0.1699, allocations: 1.592 MB / 0.572 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004445/0.1744, allocations: 1.607 MB / 0.5736 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.1748, allocations: 115.8 kB / 0.5737 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004744/0.1796, allocations: 3.307 MB / 0.577 GB, free: 148 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002825/0.1824, allocations: 1.91 MB / 0.5788 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.1844, allocations: 1.16 MB / 0.58 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004037/0.1885, allocations: 2.594 MB / 0.5825 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000893/0.1894, allocations: 232 kB / 0.5827 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.1911, allocations: 0.7332 MB / 0.5834 GB, free: 9.473 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001847/0.193, allocations: 1.534 MB / 0.5849 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002699/0.1957, allocations: 1.808 MB / 0.5867 GB, free: 6.113 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008718/0.2044, allocations: 5.939 MB / 0.5925 GB, free: 152 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.2044, allocations: 7.922 kB / 0.5925 GB, free: 144 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2044, allocations: 0 / 0.5925 GB, free: 144 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001813/0.2046, allocations: 0 / 0.5925 GB, free: 144 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.2816/0.4862, allocations: 4.103 MB / 0.5965 GB, free: 33.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.4862, allocations: 9.625 kB / 0.5965 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001641/0.4879, allocations: 0.6895 MB / 0.5972 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/0.4997, allocations: 2.988 MB / 0.6001 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005165/0.5049, allocations: 1.842 MB / 0.6019 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.5051, allocations: 185.9 kB / 0.6021 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.5063, allocations: 240.6 kB / 0.6023 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.5253, allocations: 9.758 MB / 0.6118 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.72e-05/0.5254, allocations: 18.62 kB / 0.6119 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000638/0.526, allocations: 117.7 kB / 0.612 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004013/0.53, allocations: 2.362 MB / 0.6143 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01626/0.5463, allocations: 8.954 MB / 0.623 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04202/0.5883, allocations: 29.56 MB / 0.6519 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007175/0.5955, allocations: 3.368 MB / 0.6552 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.5974, allocations: 1.018 MB / 0.6562 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/0.6094, allocations: 6.47 MB / 0.6625 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.6094, allocations: 43.16 kB / 0.6625 GB, free: 11.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 4.659e-06/0.6094, allocations: 4 kB / 0.6625 GB, free: 11.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=135): time 0.008743/0.6182, allocations: 3.151 MB / 0.6656 GB, free: 7.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.6182, allocations: 111.5 kB / 0.6657 GB, free: 7.812 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.623, allocations: 2.738 MB / 0.6684 GB, free: 5.055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.6232, allocations: 41.7 kB / 0.6684 GB, free: 5.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002609/0.6258, allocations: 2.845 MB / 0.6712 GB, free: 2.133 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008412/0.6267, allocations: 0.5427 MB / 0.6717 GB, free: 1.586 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/0.6283, allocations: 0.9369 MB / 0.6727 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6284, allocations: 305.1 kB / 0.6729 GB, free: 344 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002457/0.6309, allocations: 1.403 MB / 0.6743 GB, free: 14.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00541/0.6363, allocations: 4.229 MB / 0.6784 GB, free: 9.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008066/0.6444, allocations: 6.162 MB / 0.6845 GB, free: 1.719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.572e-05/0.6445, allocations: 28 kB / 0.6845 GB, free: 1.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01081/0.6553, allocations: 5.452 MB / 0.6898 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/0.6554, allocations: 52.03 kB / 0.6899 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.6555, allocations: 104 kB / 0.69 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.6556, allocations: 135.9 kB / 0.6901 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/0.6588, allocations: 0.9981 MB / 0.6911 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002333/0.6591, allocations: 199.2 kB / 0.6913 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003398/0.6625, allocations: 0.6281 MB / 0.6919 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006194/0.6631, allocations: 288 kB / 0.6921 GB, free: 9.836 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 543 * Array equations: 8 * 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.003852/0.6669, allocations: 1.973 MB / 0.6941 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005238/0.6674, allocations: 238.4 kB / 0.6943 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007159/0.6682, allocations: 292.7 kB / 0.6946 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.344e-05/0.6682, allocations: 19.98 kB / 0.6946 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.6682, allocations: 0 / 0.6946 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.6682, allocations: 3.984 kB / 0.6946 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.6796, allocations: 6.2 MB / 0.7007 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.6796, allocations: 8 kB / 0.7007 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.6803, allocations: 163.7 kB / 0.7008 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.6803, allocations: 12.81 kB / 0.7008 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/0.6804, allocations: 31.98 kB / 0.7009 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.428e-05/0.6804, allocations: 16 kB / 0.7009 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.6804, allocations: 18.78 kB / 0.7009 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.6832, allocations: 2.007 MB / 0.7029 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000622/0.6838, allocations: 323.1 kB / 0.7032 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.6841, allocations: 31.89 kB / 0.7032 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/0.6848, allocations: 35.97 kB / 0.7032 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.685, allocations: 88.23 kB / 0.7033 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.436e-05/0.6851, allocations: 47.98 kB / 0.7034 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002952/0.688, allocations: 1.674 MB / 0.705 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.688, allocations: 0 / 0.705 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004384/0.6924, allocations: 1.035 MB / 0.706 GB, free: 11.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (93): * Single equations (assignments): 87 * Array equations: 6 * 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.003638/0.696, allocations: 2.661 MB / 0.7086 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005748/0.7018, allocations: 3.138 MB / 0.7117 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.7018, allocations: 0 / 0.7117 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.703, allocations: 0.7423 MB / 0.7124 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.705, allocations: 304.9 kB / 0.7127 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05039/0.7554, allocations: 31.03 MB / 0.743 GB, free: 1.297 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00495/0.7603, allocations: 3.096 MB / 0.746 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003617/0.7639, allocations: 1.548 MB / 0.7475 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002673/0.7666, allocations: 1.604 MB / 0.7491 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of SimCode: time 1.874e-06/0.7666, allocations: 0 / 0.7491 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09186/0.8585, allocations: 41.75 MB / 0.7899 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.8/16.66, allocations: 12.05 kB / 0.7899 GB, free: 1.426 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes_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-beta_om_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.944058335851878] Failed to read output from testmodel.py, exit status != 0: ['time', 'surfaceWireframe.nu', 'surfaceWireframe.nv', 'surfaceSolid.nu', 'surfaceSolid.nv'] 16.75852960301563 16.787067415 16.577350085 Calling exit ...