Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001747/0.001747, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.002096/0.002096, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.49/1.49, allocations: 230.4 MB / 254.7 MB, free: 14.83 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.2292/0.2292, allocations: 46.93 MB / 357.7 MB, free: 10.17 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.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.002272/0.002272, allocations: 83.86 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.127, allocations: 66.03 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01569/0.1427, allocations: 13.43 MB / 0.5693 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.1531, allocations: 4.821 MB / 0.574 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.1559, allocations: 111.4 kB / 0.5741 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007674/0.1636, allocations: 3.781 MB / 0.5778 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005966/0.1696, allocations: 2.21 MB / 0.5799 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.172, allocations: 1.076 MB / 0.581 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009905/0.1819, allocations: 6.666 MB / 0.5875 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005183/0.1871, allocations: 3.799 MB / 0.5912 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2785/0.4656, allocations: 2.061 MB / 0.5932 GB, free: 9.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007396/0.473, allocations: 2.954 MB / 0.5961 GB, free: 9.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003254/0.4763, allocations: 429.1 kB / 0.5965 GB, free: 9.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007123/0.4834, allocations: 1.48 MB / 0.598 GB, free: 9.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006551/0.49, allocations: 2.54 MB / 0.6004 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009923/0.4999, allocations: 2.827 MB / 0.6032 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01997/0.5199, allocations: 8.938 MB / 0.6119 GB, free: 6.652 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5199, allocations: 0 / 0.6119 GB, free: 6.652 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5199, allocations: 1.875 kB / 0.6119 GB, free: 6.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003268/0.5202, allocations: 1.031 kB / 0.6119 GB, free: 6.652 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01983/0.54, allocations: 6.597 MB / 0.6184 GB, free: 3.332 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5401, allocations: 10.03 kB / 0.6184 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002247/0.5423, allocations: 0.9094 MB / 0.6193 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03752/0.5798, allocations: 6.057 MB / 0.6252 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01269/0.5925, allocations: 4.669 MB / 0.6297 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.5928, allocations: 285.2 kB / 0.63 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/0.5946, allocations: 386.3 kB / 0.6304 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02622/0.6209, allocations: 11.9 MB / 0.642 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00024/0.6211, allocations: 62.58 kB / 0.6421 GB, free: 4.699 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008254/0.6219, allocations: 184.3 kB / 0.6422 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003695/0.6256, allocations: 2.134 MB / 0.6443 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02268/0.6483, allocations: 10.16 MB / 0.6543 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07159/0.7199, allocations: 47.13 MB / 0.7003 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01581/0.7357, allocations: 5.558 MB / 0.7057 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004123/0.7398, allocations: 2.653 MB / 0.7083 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01693/0.7567, allocations: 8.754 MB / 0.7168 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/0.7568, allocations: 59.34 kB / 0.7169 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 7.143e-06/0.7568, allocations: 3.984 kB / 0.7169 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.1371/0.8939, allocations: 34.93 MB / 0.751 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.8941, allocations: 209.9 kB / 0.7512 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009158/0.9032, allocations: 4.801 MB / 0.7559 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007599/0.904, allocations: 65.7 kB / 0.756 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003603/0.9076, allocations: 3.726 MB / 0.7596 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001635/0.9092, allocations: 1.005 MB / 0.7606 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002723/0.912, allocations: 1.36 MB / 0.7619 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.9121, allocations: 311.8 kB / 0.7622 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005347/0.9174, allocations: 3.027 MB / 0.7652 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/0.9277, allocations: 6.832 MB / 0.7718 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/0.9447, allocations: 10.68 MB / 0.7823 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/0.9448, allocations: 36 kB / 0.7823 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.03315/0.978, allocations: 13.17 MB / 0.7952 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.9781, allocations: 66.41 kB / 0.7952 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001721/0.9782, allocations: 140 kB / 0.7954 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01334/0.9916, allocations: 4.228 MB / 0.7995 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005563/0.9971, allocations: 1.411 MB / 0.8009 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0452/1.042, allocations: 28.57 MB / 0.8288 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007311/1.05, allocations: 403 kB / 0.8292 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002308/1.052, allocations: 399.9 kB / 0.8295 GB, free: 0.6992 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (756): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.2576/1.31, allocations: 2.454 MB / 0.8319 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.311, allocations: 470.1 kB / 0.8324 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/1.329, allocations: 8.176 MB / 0.8404 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.619e-05/1.329, allocations: 30.91 kB / 0.8404 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.481e-05/1.329, allocations: 16.45 kB / 0.8404 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-05/1.329, allocations: 12.88 kB / 0.8404 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03087/1.36, allocations: 16.68 MB / 0.8567 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-05/1.36, allocations: 7.625 kB / 0.8567 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/1.361, allocations: 295.6 kB / 0.857 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009829/1.371, allocations: 3.795 MB / 0.8607 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007001/1.372, allocations: 51.16 kB / 0.8608 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02979/1.402, allocations: 27.37 MB / 0.8875 GB, free: 186.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.402, allocations: 4 kB / 0.8875 GB, free: 186.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/1.421, allocations: 12.09 MB / 0.8993 GB, free: 174.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/1.423, allocations: 0.5012 MB / 0.8998 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/1.424, allocations: 53.31 kB / 0.8998 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/1.427, allocations: 167.4 kB / 0.9 GB, free: 174.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009984/1.428, allocations: 195.9 kB / 0.9002 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/1.428, allocations: 76.38 kB / 0.9003 GB, free: 174 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006117/1.434, allocations: 3.039 MB / 0.9032 GB, free: 171 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/1.434, allocations: 0 / 0.9032 GB, free: 171 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00853/1.443, allocations: 1.399 MB / 0.9046 GB, free: 169.6 MB / 0.6387 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01932/1.462, allocations: 12.76 MB / 0.917 GB, free: 156.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.474, allocations: 7.916 MB / 0.9248 GB, free: 148.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.036e-05/1.474, allocations: 0 / 0.9248 GB, free: 148.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004896/1.479, allocations: 3.27 MB / 0.928 GB, free: 145.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/1.484, allocations: 0.6118 MB / 0.9286 GB, free: 145 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09792/1.581, allocations: 64.14 MB / 0.9912 GB, free: 74.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004889/1.586, allocations: 3.917 MB / 0.995 GB, free: 70.66 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004077/1.59, allocations: 2.003 MB / 0.997 GB, free: 68.66 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002939/1.593, allocations: 2.367 MB / 0.9993 GB, free: 66.29 MB / 0.6387 GB Notification: Performance of SimCode: time 8.61e-07/1.593, allocations: 0 / 0.9993 GB, free: 66.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4794/2.073, allocations: 113.6 MB / 1.11 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.54/24.61, allocations: 4.062 kB / 1.11 GB, free: 214.8 MB / 0.6544 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.85065564000979] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 24.776216826867312 24.791537631 24.268218533 Calling exit ...