Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.001542/0.001542, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001419/0.001419, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.465/1.465, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.2238/0.2238, allocations: 46.87 MB / 357.4 MB, free: 10.52 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.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",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.002256/0.002256, allocations: 78.19 kB / 0.4912 GB, free: 27.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1384, allocations: 65.97 MB / 0.5556 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01777/0.1561, allocations: 15.07 MB / 0.5704 GB, free: 10 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.169, allocations: 4.846 MB / 0.5751 GB, free: 5.137 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.1721, allocations: 91.75 kB / 0.5752 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006764/0.1789, allocations: 3.196 MB / 0.5783 GB, free: 1.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00769/0.1866, allocations: 2.592 MB / 0.5808 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.1895, allocations: 0.9866 MB / 0.5818 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01153/0.2011, allocations: 7.055 MB / 0.5887 GB, free: 7.184 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005625/0.2067, allocations: 3.717 MB / 0.5923 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004939/0.2116, allocations: 2.223 MB / 0.5945 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00703/0.2186, allocations: 3.524 MB / 0.5979 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002218/0.2209, allocations: 488 kB / 0.5984 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/0.2253, allocations: 1.533 MB / 0.5999 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004663/0.2299, allocations: 2.937 MB / 0.6028 GB, free: 8.676 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005763/0.2357, allocations: 3.289 MB / 0.606 GB, free: 5.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3219/0.5576, allocations: 10.55 MB / 0.6163 GB, free: 18.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.5576, allocations: 3.062 kB / 0.6163 GB, free: 18.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5576, allocations: 0 / 0.6163 GB, free: 18.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005064/0.5582, allocations: 0 / 0.6163 GB, free: 18.79 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02865/0.5868, allocations: 7.651 MB / 0.6237 GB, free: 15.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.5869, allocations: 9.844 kB / 0.6238 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005156/0.592, allocations: 1.135 MB / 0.6249 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04148/0.6335, allocations: 7.509 MB / 0.6322 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/0.6491, allocations: 4.721 MB / 0.6368 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007634/0.6498, allocations: 318.6 kB / 0.6371 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004417/0.6542, allocations: 432.2 kB / 0.6375 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03367/0.6879, allocations: 15.63 MB / 0.6528 GB, free: 5.199 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002901/0.6882, allocations: 58.69 kB / 0.6528 GB, free: 5.191 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002332/0.6905, allocations: 208.4 kB / 0.653 GB, free: 5.105 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004829/0.6954, allocations: 3.222 MB / 0.6562 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03116/0.7265, allocations: 13.95 MB / 0.6698 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09547/0.822, allocations: 57.2 MB / 0.7257 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01504/0.837, allocations: 6.205 MB / 0.7317 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005569/0.8426, allocations: 3.265 MB / 0.7349 GB, free: 3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02854/0.8711, allocations: 14.44 MB / 0.749 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/0.8712, allocations: 68.11 kB / 0.7491 GB, free: 4.105 MB / 0.545 GB Notification: Performance of pre-optimization done (n=289): time 7.734e-06/0.8712, allocations: 7.984 kB / 0.7491 GB, free: 4.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=339): time 0.1643/1.036, allocations: 42.04 MB / 0.7901 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/1.036, allocations: 213.5 kB / 0.7903 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009697/1.045, allocations: 5.499 MB / 0.7957 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009663/1.046, allocations: 69.7 kB / 0.7958 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004452/1.051, allocations: 4.588 MB / 0.8003 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002132/1.053, allocations: 1.31 MB / 0.8015 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004119/1.057, allocations: 1.789 MB / 0.8033 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.057, allocations: 305.1 kB / 0.8036 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007924/1.065, allocations: 4.644 MB / 0.8081 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01311/1.078, allocations: 9.61 MB / 0.8175 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02251/1.101, allocations: 15.31 MB / 0.8325 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/1.101, allocations: 52 kB / 0.8325 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.04952/1.15, allocations: 19 MB / 0.8511 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002331/1.151, allocations: 90.53 kB / 0.8511 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003382/1.151, allocations: 172 kB / 0.8513 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02257/1.174, allocations: 5.775 MB / 0.8569 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2933/1.467, allocations: 2.061 MB / 0.859 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03355/1.5, allocations: 25.66 MB / 0.884 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00807/1.509, allocations: 0.5538 MB / 0.8846 GB, free: 218.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002379/1.511, allocations: 0.504 MB / 0.885 GB, free: 218 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1050 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00716/1.518, allocations: 3.094 MB / 0.8881 GB, free: 216.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.519, allocations: 0.5229 MB / 0.8886 GB, free: 216.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02763/1.547, allocations: 12.65 MB / 0.9009 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.677e-05/1.547, allocations: 59.3 kB / 0.901 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/1.547, allocations: 7.938 kB / 0.901 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.18e-05/1.547, allocations: 19.88 kB / 0.901 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04569/1.593, allocations: 24.28 MB / 0.9247 GB, free: 190.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.162e-05/1.593, allocations: 4 kB / 0.9247 GB, free: 190.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002958/1.596, allocations: 0.5772 MB / 0.9253 GB, free: 190.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01631/1.612, allocations: 4.813 MB / 0.93 GB, free: 185.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007868/1.613, allocations: 55.98 kB / 0.93 GB, free: 185.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/1.634, allocations: 20.91 MB / 0.9505 GB, free: 164.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.634, allocations: 11.94 kB / 0.9505 GB, free: 164.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02952/1.663, allocations: 17.1 MB / 0.9672 GB, free: 147.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.665, allocations: 0.5594 MB / 0.9677 GB, free: 146.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/1.667, allocations: 55.19 kB / 0.9678 GB, free: 146.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003264/1.67, allocations: 256.3 kB / 0.968 GB, free: 146.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008481/1.671, allocations: 199.2 kB / 0.9682 GB, free: 146.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002714/1.671, allocations: 86.61 kB / 0.9683 GB, free: 146.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005416/1.676, allocations: 3.416 MB / 0.9716 GB, free: 142.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/1.676, allocations: 0 / 0.9716 GB, free: 142.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008903/1.685, allocations: 1.693 MB / 0.9733 GB, free: 141.3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03046/1.716, allocations: 17.76 MB / 0.9906 GB, free: 123.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01435/1.73, allocations: 10.24 MB / 1.001 GB, free: 113.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.73, allocations: 0 / 1.001 GB, free: 113.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004703/1.735, allocations: 3.74 MB / 1.004 GB, free: 109.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/1.739, allocations: 0.6516 MB / 1.005 GB, free: 108.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1389/1.878, allocations: 86.29 MB / 1.089 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006203/1.884, allocations: 4.619 MB / 1.094 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006475/1.89, allocations: 2.986 MB / 1.097 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004218/1.895, allocations: 2.921 MB / 1.099 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of SimCode: time 1.142e-06/1.895, allocations: 0 / 1.099 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5123/2.407, allocations: 126.4 MB / 1.223 GB, free: 132.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.15/41.56, allocations: 4 kB / 1.223 GB, free: 132.4 MB / 0.6544 GB " [Timeout remaining time 618] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 44.67778086476028] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 41.7133439402096 41.735810848 41.173725738 Calling exit ...