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.001695/0.001695, allocations: 109.2 kB / 20.42 MB, free: 1.684 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.002061/0.002061, allocations: 220.5 kB / 23.72 MB, free: 5.051 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.468/1.468, allocations: 230.2 MB / 257.1 MB, free: 8.48 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.2251/0.2251, allocations: 46.89 MB / 360.3 MB, free: 4.629 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.002227/0.002227, allocations: 79.86 kB / 0.4955 GB, free: 8.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3664, allocations: 65.99 MB / 0.56 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01825/0.3847, allocations: 15.08 MB / 0.5747 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.3956, allocations: 4.875 MB / 0.5795 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.3982, allocations: 91.75 kB / 0.5795 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006501/0.4047, allocations: 3.212 MB / 0.5827 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006858/0.4116, allocations: 2.592 MB / 0.5852 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.4141, allocations: 0.9827 MB / 0.5862 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01104/0.4251, allocations: 7.047 MB / 0.5931 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005545/0.4307, allocations: 3.237 MB / 0.5962 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/0.4354, allocations: 2.227 MB / 0.5984 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005948/0.4413, allocations: 3.532 MB / 0.6018 GB, free: 9.844 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001647/0.443, allocations: 484 kB / 0.6023 GB, free: 9.371 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004002/0.447, allocations: 1.525 MB / 0.6038 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004204/0.4512, allocations: 2.937 MB / 0.6067 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006426/0.4576, allocations: 3.289 MB / 0.6099 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01514/0.4727, allocations: 10.56 MB / 0.6202 GB, free: 6.984 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.4727, allocations: 0 / 0.6202 GB, free: 6.984 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4727, allocations: 4 kB / 0.6202 GB, free: 6.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000382/0.4731, allocations: 0 / 0.6202 GB, free: 6.98 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.02039/0.4935, allocations: 7.655 MB / 0.6277 GB, free: 15.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.4936, allocations: 8.031 kB / 0.6277 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002969/0.4965, allocations: 1.133 MB / 0.6288 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04424/0.5408, allocations: 7.516 MB / 0.6361 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.5538, allocations: 4.714 MB / 0.6407 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004141/0.5542, allocations: 320.2 kB / 0.641 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001991/0.5562, allocations: 443.7 kB / 0.6414 GB, free: 1.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03078/0.587, allocations: 15.62 MB / 0.6567 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002014/0.5872, allocations: 67.47 kB / 0.6568 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007201/0.5879, allocations: 203.8 kB / 0.657 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005506/0.5934, allocations: 3.22 MB / 0.6601 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02969/0.6231, allocations: 13.94 MB / 0.6737 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08601/0.7091, allocations: 57.21 MB / 0.7296 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3038/1.013, allocations: 6.195 MB / 0.7356 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004524/1.017, allocations: 3.275 MB / 0.7388 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02045/1.038, allocations: 14.43 MB / 0.7529 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/1.038, allocations: 63.56 kB / 0.753 GB, free: 143 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=289): time 5.891e-06/1.038, allocations: 0 / 0.753 GB, free: 143 MB / 0.5606 GB Notification: Performance of matching and sorting (n=339): time 0.1329/1.171, allocations: 42.04 MB / 0.794 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/1.171, allocations: 214 kB / 0.7943 GB, free: 107 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006239/1.177, allocations: 5.492 MB / 0.7996 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008406/1.178, allocations: 72.83 kB / 0.7997 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001933/1.18, allocations: 4.587 MB / 0.8042 GB, free: 97.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/1.181, allocations: 1.313 MB / 0.8054 GB, free: 95.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002195/1.183, allocations: 1.788 MB / 0.8072 GB, free: 94.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.59e-05/1.183, allocations: 301.1 kB / 0.8075 GB, free: 93.87 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005128/1.189, allocations: 4.647 MB / 0.812 GB, free: 89.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006863/1.195, allocations: 9.611 MB / 0.8214 GB, free: 77.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/1.209, allocations: 15.31 MB / 0.8363 GB, free: 59.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001275/1.209, allocations: 52 kB / 0.8364 GB, free: 59.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.03863/1.248, allocations: 19.01 MB / 0.855 GB, free: 40.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.391e-05/1.248, allocations: 82.5 kB / 0.855 GB, free: 40.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001605/1.248, allocations: 172 kB / 0.8552 GB, free: 40.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02103/1.269, allocations: 5.765 MB / 0.8608 GB, free: 34.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006864/1.276, allocations: 2.066 MB / 0.8629 GB, free: 32.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04276/1.319, allocations: 25.68 MB / 0.8879 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01202/1.331, allocations: 0.5463 MB / 0.8885 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002201/1.333, allocations: 0.5 MB / 0.889 GB, free: 5.18 MB / 0.5606 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.007778/1.341, allocations: 3.097 MB / 0.892 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00169/1.342, allocations: 0.5263 MB / 0.8925 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03372/1.376, allocations: 12.65 MB / 0.9048 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001179/1.376, allocations: 51.94 kB / 0.9049 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.503e-05/1.376, allocations: 11.94 kB / 0.9049 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.904e-05/1.376, allocations: 15.94 kB / 0.9049 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05841/1.435, allocations: 24.27 MB / 0.9286 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-05/1.435, allocations: 8 kB / 0.9286 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/1.438, allocations: 0.5817 MB / 0.9292 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02083/1.459, allocations: 4.805 MB / 0.9339 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008547/1.46, allocations: 55.98 kB / 0.9339 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03127/1.491, allocations: 20.91 MB / 0.9544 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/1.491, allocations: 7.938 kB / 0.9544 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03994/1.531, allocations: 17.11 MB / 0.9711 GB, free: 40 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/1.533, allocations: 0.5521 MB / 0.9716 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/1.534, allocations: 52 kB / 0.9717 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003902/1.538, allocations: 259.6 kB / 0.9719 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/1.539, allocations: 197.6 kB / 0.9721 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003033/1.539, allocations: 87.98 kB / 0.9722 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.2958/1.835, allocations: 3.41 MB / 0.9755 GB, free: 226.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.01e-07/1.835, allocations: 0.5625 kB / 0.9755 GB, free: 226.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009756/1.845, allocations: 1.694 MB / 0.9772 GB, free: 226.9 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.03374/1.879, allocations: 17.77 MB / 0.9945 GB, free: 221.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01485/1.894, allocations: 10.24 MB / 1.005 GB, free: 218.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.894, allocations: 0 / 1.005 GB, free: 218.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005304/1.899, allocations: 3.746 MB / 1.008 GB, free: 216.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/1.903, allocations: 0.6468 MB / 1.009 GB, free: 216.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1334/2.037, allocations: 86.42 MB / 1.093 GB, free: 125 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005051/2.042, allocations: 4.619 MB / 1.098 GB, free: 120.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006037/2.048, allocations: 2.994 MB / 1.101 GB, free: 117.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004063/2.052, allocations: 2.909 MB / 1.103 GB, free: 114.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.122e-06/2.052, allocations: 0 / 1.103 GB, free: 114.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4639/2.516, allocations: 123.8 MB / 1.224 GB, free: 227.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.49/41.01, allocations: 6.172 kB / 1.224 GB, free: 227.6 MB / 0.67 GB " [Timeout remaining time 619] (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.01293009100482] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 41.16301433276385 41.179033852 40.702419281 Calling exit ...