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.001336/0.001336, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001663/0.001663, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.466/1.466, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2276/0.2276, allocations: 46.93 MB / 361.6 MB, free: 4.293 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.002358/0.002358, allocations: 79.86 kB / 0.497 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3627, allocations: 66.08 MB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01465/0.3774, allocations: 11.58 MB / 0.5728 GB, free: 8.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007239/0.3846, allocations: 3.084 MB / 0.5758 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.3867, allocations: 71.75 kB / 0.5759 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003996/0.3907, allocations: 1.6 MB / 0.5774 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004492/0.3952, allocations: 1.619 MB / 0.579 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.3958, allocations: 119.8 kB / 0.5791 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005356/0.4012, allocations: 3.298 MB / 0.5824 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00335/0.4045, allocations: 1.905 MB / 0.5842 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/0.4073, allocations: 1.168 MB / 0.5854 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004334/0.4116, allocations: 2.595 MB / 0.5879 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009363/0.4126, allocations: 232 kB / 0.5881 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.4144, allocations: 0.7371 MB / 0.5888 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002042/0.4164, allocations: 1.546 MB / 0.5903 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002683/0.4191, allocations: 1.805 MB / 0.5921 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0083/0.4274, allocations: 5.947 MB / 0.5979 GB, free: 14.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4274, allocations: 4 kB / 0.5979 GB, free: 14.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4274, allocations: 0 / 0.5979 GB, free: 14.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002048/0.4276, allocations: 0 / 0.5979 GB, free: 14.86 MB / 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.008726/0.4364, allocations: 4.033 MB / 0.6019 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.4364, allocations: 8.031 kB / 0.6019 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001305/0.4377, allocations: 0.6877 MB / 0.6025 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009948/0.4477, allocations: 2.985 MB / 0.6055 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/0.452, allocations: 1.779 MB / 0.6072 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.4522, allocations: 192.7 kB / 0.6074 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009005/0.4531, allocations: 235.8 kB / 0.6076 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.4707, allocations: 9.764 MB / 0.6171 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.088e-05/0.4708, allocations: 15.81 kB / 0.6172 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004711/0.4713, allocations: 111.8 kB / 0.6173 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003842/0.4751, allocations: 2.358 MB / 0.6196 GB, free: 8.215 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/0.4944, allocations: 8.952 MB / 0.6283 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04959/0.5439, allocations: 29.47 MB / 0.6571 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006518/0.5505, allocations: 2.467 MB / 0.6595 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.5522, allocations: 1.018 MB / 0.6605 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/0.5624, allocations: 4.926 MB / 0.6653 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.5625, allocations: 43.22 kB / 0.6653 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.627e-06/0.5625, allocations: 0 / 0.6653 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008472/0.5709, allocations: 3.139 MB / 0.6684 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/0.571, allocations: 111.5 kB / 0.6685 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004392/0.5754, allocations: 2.746 MB / 0.6712 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.5756, allocations: 41.69 kB / 0.6712 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002427/0.578, allocations: 2.845 MB / 0.674 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007149/0.5787, allocations: 0.5466 MB / 0.6745 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.5801, allocations: 0.933 MB / 0.6754 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5802, allocations: 301.1 kB / 0.6757 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/0.5825, allocations: 1.406 MB / 0.6771 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005252/0.5878, allocations: 4.229 MB / 0.6812 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008196/0.596, allocations: 6.151 MB / 0.6872 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.014e-05/0.5961, allocations: 28 kB / 0.6873 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01092/0.607, allocations: 5.463 MB / 0.6926 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.463e-05/0.6071, allocations: 48.94 kB / 0.6927 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/0.6072, allocations: 100 kB / 0.6927 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.6074, allocations: 132 kB / 0.6929 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/0.6105, allocations: 0.9981 MB / 0.6938 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000172/0.6107, allocations: 195.3 kB / 0.694 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/0.6138, allocations: 0.632 MB / 0.6947 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005982/0.6144, allocations: 288 kB / 0.6949 GB, free: 7.254 MB / 0.5294 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.003522/0.6179, allocations: 1.974 MB / 0.6969 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004601/0.6184, allocations: 242.3 kB / 0.6971 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/0.619, allocations: 288.8 kB / 0.6974 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/0.619, allocations: 24 kB / 0.6974 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.619, allocations: 0 / 0.6974 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.619, allocations: 7.922 kB / 0.6974 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.6303, allocations: 6.164 MB / 0.7034 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/0.6303, allocations: 8 kB / 0.7034 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/0.631, allocations: 167.7 kB / 0.7036 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.631, allocations: 12 kB / 0.7036 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-05/0.6311, allocations: 31.98 kB / 0.7036 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/0.6311, allocations: 11.94 kB / 0.7036 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.287e-05/0.6311, allocations: 15.94 kB / 0.7036 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.6339, allocations: 2.016 MB / 0.7056 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005615/0.6345, allocations: 242.2 kB / 0.7058 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.6347, allocations: 28 kB / 0.7059 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.6354, allocations: 47.94 kB / 0.7059 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.6355, allocations: 92.12 kB / 0.706 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.569e-05/0.6356, allocations: 51.98 kB / 0.7061 GB, free: 11.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002901/0.6385, allocations: 1.67 MB / 0.7077 GB, free: 9.871 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6385, allocations: 3.938 kB / 0.7077 GB, free: 9.867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00408/0.6426, allocations: 1.032 MB / 0.7087 GB, free: 8.832 MB / 0.545 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.003561/0.6462, allocations: 2.661 MB / 0.7113 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005509/0.6517, allocations: 3.133 MB / 0.7144 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.6517, allocations: 0 / 0.7144 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.6528, allocations: 0.7517 MB / 0.7151 GB, free: 2.184 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.6546, allocations: 294.5 kB / 0.7154 GB, free: 1.898 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3005/0.9551, allocations: 31.05 MB / 0.7457 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004733/0.9598, allocations: 3.098 MB / 0.7487 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00453/0.9643, allocations: 1.549 MB / 0.7502 GB, free: 146 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002847/0.9672, allocations: 1.601 MB / 0.7518 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.833e-06/0.9672, allocations: 0 / 0.7518 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09827/1.065, allocations: 45.45 MB / 0.7962 GB, free: 99.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/17.65, allocations: 6.391 kB / 0.7962 GB, free: 99.18 MB / 0.5606 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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: 20.533090092241764] Failed to read output from testmodel.py, exit status != 0: ['time', 'surfaceWireframe.nu', 'surfaceWireframe.nv', 'surfaceSolid.nu', 'surfaceSolid.nv'] 17.7590588433668 17.785875479 17.352996969 Calling exit ...