Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.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.0008411/0.0008411, allocations: 72.56 kB / 19.92 MB, free: 4.621 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.0008524/0.0008524, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.8314/0.8314, allocations: 158.6 MB / 185 MB, free: 3.027 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.1281/0.1281, allocations: 32.36 MB / 269.6 MB, free: 14.97 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.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.086e-05, allocations: 2.281 kB / 406.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.007469/0.00749, allocations: 10.33 MB / 417.2 MB, free: 7.852 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005342/0.01283, allocations: 3.856 MB / 421 MB, free: 3.984 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007416/0.01357, allocations: 71.75 kB / 421.1 MB, free: 3.914 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.01493, allocations: 1.214 MB / 422.3 MB, free: 2.695 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.01707, allocations: 1.867 MB / 424.2 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008376/0.01791, allocations: 0.5922 MB / 424.8 MB, free: 232 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003729/0.02163, allocations: 4.577 MB / 429.3 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.02375, allocations: 2.191 MB / 431.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.02577, allocations: 1.886 MB / 433.4 MB, free: 7.527 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.02777, allocations: 2.077 MB / 435.5 MB, free: 5.445 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.02801, allocations: 224 kB / 435.7 MB, free: 5.227 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.02939, allocations: 1.252 MB / 437 MB, free: 3.973 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008889/0.03028, allocations: 1.725 MB / 438.7 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006889/0.03097, allocations: 1.008 MB / 439.7 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004033/0.035, allocations: 6.318 MB / 446 MB, free: 10.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.035, allocations: 0 / 446 MB, free: 10.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.035, allocations: 0 / 446 MB, free: 10.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.619e-05/0.03505, allocations: 0 / 446 MB, free: 10.89 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.004641/0.03969, allocations: 4.258 MB / 450.3 MB, free: 6.574 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.03974, allocations: 16.03 kB / 450.3 MB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005139/0.04025, allocations: 0.6876 MB / 451 MB, free: 5.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.05032, allocations: 5.769 MB / 456.8 MB, free: 80 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.05315, allocations: 2.327 MB / 459.1 MB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.05325, allocations: 176.8 kB / 459.3 MB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006337/0.05389, allocations: 316.3 kB / 459.6 MB, free: 13.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/0.06508, allocations: 10.73 MB / 470.3 MB, free: 2.039 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.894e-05/0.06514, allocations: 23.81 kB / 470.3 MB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.06541, allocations: 119.8 kB / 470.4 MB, free: 1.898 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1668/0.2322, allocations: 2.455 MB / 472.9 MB, free: 94.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.2452, allocations: 10.16 MB / 483 MB, free: 91.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03455/0.2798, allocations: 34.38 MB / 0.5053 GB, free: 70.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007633/0.2874, allocations: 4.584 MB / 0.5098 GB, free: 69.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.2896, allocations: 2.185 MB / 0.5119 GB, free: 69.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007277/0.2903, allocations: 0.5608 MB / 0.5125 GB, free: 68.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.2904, allocations: 51.34 kB / 0.5125 GB, free: 68.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=224): time 5.68e-06/0.2904, allocations: 0 / 0.5125 GB, free: 68.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.02239/0.3128, allocations: 15.28 MB / 0.5274 GB, free: 57.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007531/0.3135, allocations: 1.504 MB / 0.5289 GB, free: 55.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/0.3166, allocations: 3.364 MB / 0.5322 GB, free: 52.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005515/0.3171, allocations: 53.22 kB / 0.5322 GB, free: 52.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000856/0.318, allocations: 2.775 MB / 0.5349 GB, free: 49.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006534/0.3187, allocations: 0.8772 MB / 0.5358 GB, free: 48.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009311/0.3196, allocations: 1.092 MB / 0.5369 GB, free: 47.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.291e-05/0.3196, allocations: 305.1 kB / 0.5372 GB, free: 47.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/0.3222, allocations: 2.849 MB / 0.5399 GB, free: 44.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/0.3254, allocations: 5.854 MB / 0.5457 GB, free: 37.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006628/0.3321, allocations: 9.355 MB / 0.5548 GB, free: 26.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-05/0.3321, allocations: 28 kB / 0.5548 GB, free: 26.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05293/0.3851, allocations: 39.11 MB / 0.593 GB, free: 3.332 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.973e-05/0.3851, allocations: 55.94 kB / 0.5931 GB, free: 3.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03899/0.4241, allocations: 27.61 MB / 0.62 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04466/0.4688, allocations: 28.37 MB / 0.6477 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/0.4721, allocations: 1.306 MB / 0.649 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2084/0.6804, allocations: 28.46 MB / 0.6768 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00339/0.6838, allocations: 0.5952 MB / 0.6774 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005829/0.6844, allocations: 318.5 kB / 0.6777 GB, free: 157 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002526/0.6869, allocations: 2.025 MB / 0.6797 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005633/0.6875, allocations: 286.3 kB / 0.6799 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005909/0.6934, allocations: 5.109 MB / 0.6849 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005091/0.6985, allocations: 4.394 MB / 0.6892 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.6985, allocations: 6.219 kB / 0.6892 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.6985, allocations: 8.203 kB / 0.6892 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/0.7165, allocations: 12.47 MB / 0.7014 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.7166, allocations: 13.28 kB / 0.7014 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.7179, allocations: 455.1 kB / 0.7019 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001697/0.7196, allocations: 0.9389 MB / 0.7028 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/0.7198, allocations: 54.77 kB / 0.7028 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003846/0.7237, allocations: 5.593 MB / 0.7083 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00053/0.7242, allocations: 1.438 MB / 0.7097 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00697/0.7312, allocations: 7.724 MB / 0.7172 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.7322, allocations: 325.1 kB / 0.7176 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003254/0.7325, allocations: 42.5 kB / 0.7176 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.7336, allocations: 251.7 kB / 0.7178 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/0.7339, allocations: 149.5 kB / 0.718 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.734, allocations: 65.86 kB / 0.718 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002063/0.7361, allocations: 2.019 MB / 0.72 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7361, allocations: 0 / 0.72 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00333/0.7394, allocations: 1.256 MB / 0.7212 GB, free: 134.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006801/0.7462, allocations: 8.408 MB / 0.7294 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006917/0.7531, allocations: 7.029 MB / 0.7363 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.7531, allocations: 0 / 0.7363 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/0.7552, allocations: 2.303 MB / 0.7386 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.757, allocations: 379.1 kB / 0.7389 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1055/0.8626, allocations: 91.88 MB / 0.8286 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002788/0.8653, allocations: 2.618 MB / 0.8312 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002967/0.8683, allocations: 2.075 MB / 0.8332 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/0.8703, allocations: 1.684 MB / 0.8349 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of SimCode: time 1.654e-06/0.8703, allocations: 0 / 0.8349 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2429/1.113, allocations: 79.46 MB / 0.9125 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.83, allocations: 4.062 kB / 0.9125 GB, free: 159.3 MB / 0.5261 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.911638787016273] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.Q[1]', 'body.Q[2]', 'body.Q[3]', 'body.Q[4]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 11.954641932621598 11.966787253 11.929838069 Calling exit ...