Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.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.001394/0.001394, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001728/0.001728, allocations: 216.2 kB / 22.92 MB, free: 5.195 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.303/1.303, allocations: 230.2 MB / 256.2 MB, free: 8.582 MB / 206.1 MB " [Timeout remaining time 179] 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.1983/0.1983, allocations: 46.89 MB / 359.3 MB, free: 4.961 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.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",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.002136/0.002136, allocations: 79.86 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2597, allocations: 65.99 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01202/0.2717, allocations: 11.82 MB / 0.57 GB, free: 9.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006527/0.2782, allocations: 4.112 MB / 0.574 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009227/0.2791, allocations: 59.88 kB / 0.574 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.2812, allocations: 1.202 MB / 0.5752 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.2843, allocations: 1.759 MB / 0.5769 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.2854, allocations: 0.5574 MB / 0.5775 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004076/0.2894, allocations: 4.043 MB / 0.5814 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.2908, allocations: 1.453 MB / 0.5828 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.2919, allocations: 1.156 MB / 0.584 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.2938, allocations: 1.857 MB / 0.5858 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.2941, allocations: 216 kB / 0.586 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.296, allocations: 1.334 MB / 0.5873 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.2973, allocations: 1.608 MB / 0.5889 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.2988, allocations: 1.84 MB / 0.5907 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006012/0.3049, allocations: 6.208 MB / 0.5967 GB, free: 13.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3049, allocations: 11.92 kB / 0.5967 GB, free: 13.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3049, allocations: 0 / 0.5967 GB, free: 13.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.667e-05/0.3049, allocations: 0 / 0.5967 GB, free: 13.82 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.006108/0.311, allocations: 4.205 MB / 0.6008 GB, free: 9.535 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3111, allocations: 12.03 kB / 0.6009 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007145/0.3118, allocations: 0.6876 MB / 0.6015 GB, free: 8.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01929/0.3311, allocations: 6.179 MB / 0.6076 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005337/0.3364, allocations: 2.627 MB / 0.6101 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.3365, allocations: 184.5 kB / 0.6103 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008106/0.3374, allocations: 315.6 kB / 0.6106 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.3522, allocations: 10.71 MB / 0.6211 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.754e-05/0.3523, allocations: 23.8 kB / 0.6211 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/0.3526, allocations: 115.8 kB / 0.6212 GB, free: 4.152 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003658/0.3563, allocations: 2.471 MB / 0.6236 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.3731, allocations: 10.15 MB / 0.6335 GB, free: 7.516 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04313/0.4162, allocations: 35.57 MB / 0.6683 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.4268, allocations: 5.391 MB / 0.6735 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/0.4296, allocations: 2.185 MB / 0.6756 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001634/0.4312, allocations: 1.884 MB / 0.6775 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.4312, allocations: 48.56 kB / 0.6775 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 3.517e-06/0.4312, allocations: 0 / 0.6775 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.03186/0.4631, allocations: 15.02 MB / 0.6922 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001346/0.4644, allocations: 1.602 MB / 0.6938 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.468, allocations: 2.811 MB / 0.6965 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002359/0.4682, allocations: 61.69 kB / 0.6966 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001866/0.4701, allocations: 2.784 MB / 0.6993 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008708/0.471, allocations: 0.8914 MB / 0.7002 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/0.4725, allocations: 1.112 MB / 0.7012 GB, free: 396 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.4726, allocations: 305.1 kB / 0.7015 GB, free: 88 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/0.4761, allocations: 2.626 MB / 0.7041 GB, free: 13.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005714/0.4819, allocations: 5.639 MB / 0.7096 GB, free: 6.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.492, allocations: 8.937 MB / 0.7183 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.862e-05/0.4921, allocations: 28 kB / 0.7184 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.2515/0.7435, allocations: 17.12 MB / 0.7351 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.7436, allocations: 46.56 kB / 0.7351 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03879/0.7824, allocations: 10.62 MB / 0.7455 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04253/0.8249, allocations: 8.629 MB / 0.7539 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003688/0.8286, allocations: 1.302 MB / 0.7552 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/0.851, allocations: 17.81 MB / 0.7726 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/0.8545, allocations: 419.6 kB / 0.773 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003314/0.8549, allocations: 331.6 kB / 0.7733 GB, free: 123.9 MB / 0.5606 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.002012/0.8569, allocations: 2.012 MB / 0.7753 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.8572, allocations: 289.6 kB / 0.7755 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006514/0.8637, allocations: 5.097 MB / 0.7805 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00548/0.8692, allocations: 4.4 MB / 0.7848 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.8692, allocations: 3.438 kB / 0.7848 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.8692, allocations: 11.95 kB / 0.7848 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.8829, allocations: 12.9 MB / 0.7974 GB, free: 99.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.8829, allocations: 8 kB / 0.7974 GB, free: 99.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/0.8846, allocations: 463.2 kB / 0.7979 GB, free: 98.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/0.8871, allocations: 0.9382 MB / 0.7988 GB, free: 98.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.8872, allocations: 43.98 kB / 0.7988 GB, free: 98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004614/0.8918, allocations: 5.84 MB / 0.8045 GB, free: 91.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005829/0.8924, allocations: 1.553 MB / 0.8061 GB, free: 90.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007924/0.9003, allocations: 7.737 MB / 0.8136 GB, free: 82.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.9007, allocations: 341.5 kB / 0.8139 GB, free: 82.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.901, allocations: 43.98 kB / 0.814 GB, free: 82.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.9023, allocations: 191.7 kB / 0.8142 GB, free: 82.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.9026, allocations: 150.2 kB / 0.8143 GB, free: 81.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.9027, allocations: 67.19 kB / 0.8144 GB, free: 81.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001581/0.9043, allocations: 1.729 MB / 0.8161 GB, free: 80.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9043, allocations: 4 kB / 0.8161 GB, free: 80.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003112/0.9074, allocations: 1.078 MB / 0.8171 GB, free: 79.03 MB / 0.5606 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.008155/0.9155, allocations: 8.395 MB / 0.8253 GB, free: 70.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007607/0.9231, allocations: 6.29 MB / 0.8315 GB, free: 64.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.9232, allocations: 5.812 kB / 0.8315 GB, free: 64.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002562/0.9257, allocations: 2.379 MB / 0.8338 GB, free: 61.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.9274, allocations: 383.2 kB / 0.8342 GB, free: 61.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.109/1.036, allocations: 56.82 MB / 0.8896 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003207/1.04, allocations: 3.159 MB / 0.8927 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003885/1.043, allocations: 2.067 MB / 0.8948 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/1.046, allocations: 1.659 MB / 0.8964 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/1.046, allocations: 0 / 0.8964 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/1.163, allocations: 71.92 MB / 0.9666 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.58/18.75, allocations: 4.062 kB / 0.9666 GB, free: 1.266 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.31118673099263]