Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.001904/0.001904, allocations: 114.5 kB / 17.13 MB, free: 5.93 MB / 14.72 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.002733/0.002733, allocations: 212 kB / 20.09 MB, free: 2.977 MB / 14.72 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 1.582/1.582, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] 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.3481/0.3481, allocations: 44.22 MB / 326.6 MB, free: 6.848 MB / 254.1 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.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 67.89 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2989, allocations: 61 MB / 0.5109 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01514/0.314, allocations: 17.88 MB / 0.5284 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.3289, allocations: 5.683 MB / 0.5339 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003746/0.3326, allocations: 127.4 kB / 0.5341 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009483/0.3421, allocations: 4.645 MB / 0.5386 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009261/0.3514, allocations: 3.117 MB / 0.5417 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.3552, allocations: 1.496 MB / 0.5431 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01492/0.3701, allocations: 8.615 MB / 0.5515 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008885/0.379, allocations: 5.488 MB / 0.5569 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006915/0.3859, allocations: 3.077 MB / 0.5599 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/0.3975, allocations: 4.654 MB / 0.5644 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00392/0.4015, allocations: 0.6602 MB / 0.5651 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008513/0.41, allocations: 1.877 MB / 0.5669 GB, free: 5.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008197/0.4182, allocations: 3.864 MB / 0.5707 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009949/0.4281, allocations: 4.277 MB / 0.5749 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02222/0.4503, allocations: 13.78 MB / 0.5883 GB, free: 15.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4504, allocations: 0 / 0.5883 GB, free: 15.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4504, allocations: 0 / 0.5883 GB, free: 15.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005175/0.4509, allocations: 0 / 0.5883 GB, free: 15.44 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02725/0.4781, allocations: 9.428 MB / 0.5975 GB, free: 5.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.4782, allocations: 19.89 kB / 0.5975 GB, free: 5.891 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003605/0.4818, allocations: 1.427 MB / 0.5989 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03264/0.5144, allocations: 6.009 MB / 0.6048 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/0.5312, allocations: 7.054 MB / 0.6117 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005267/0.5317, allocations: 434.9 kB / 0.6121 GB, free: 6.867 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003049/0.5348, allocations: 0.6089 MB / 0.6127 GB, free: 6.258 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04377/0.5785, allocations: 20.55 MB / 0.6328 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000279/0.5788, allocations: 83.33 kB / 0.6329 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00153/0.5803, allocations: 271.7 kB / 0.6331 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006419/0.5868, allocations: 3.714 MB / 0.6367 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5576/1.144, allocations: 18.06 MB / 0.6544 GB, free: 107.4 MB / 0.4982 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09077/1.235, allocations: 74.18 MB / 0.7268 GB, free: 46.55 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02414/1.259, allocations: 7.134 MB / 0.7338 GB, free: 39.17 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004748/1.264, allocations: 3.73 MB / 0.7374 GB, free: 35.42 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02665/1.291, allocations: 17.99 MB / 0.755 GB, free: 17.01 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/1.291, allocations: 64.56 kB / 0.755 GB, free: 16.94 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=332): time 6.792e-06/1.291, allocations: 0 / 0.755 GB, free: 16.94 MB / 0.4982 GB Notification: Performance of matching and sorting (n=413): time 0.1217/1.412, allocations: 35.24 MB / 0.7895 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/1.413, allocations: 196.9 kB / 0.7896 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/1.425, allocations: 6.562 MB / 0.7961 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009651/1.426, allocations: 81.7 kB / 0.7961 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005478/1.432, allocations: 5.658 MB / 0.8017 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00294/1.435, allocations: 1.585 MB / 0.8032 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003873/1.439, allocations: 2.083 MB / 0.8052 GB, free: 13.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.439, allocations: 305.1 kB / 0.8055 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01173/1.45, allocations: 4.175 MB / 0.8096 GB, free: 9.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02014/1.471, allocations: 10.07 MB / 0.8194 GB, free: 12.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02539/1.496, allocations: 15.35 MB / 0.8344 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001993/1.496, allocations: 60 kB / 0.8345 GB, free: 10.08 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.04061/1.537, allocations: 15.94 MB / 0.8501 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/1.537, allocations: 92 kB / 0.8502 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000284/1.537, allocations: 208.9 kB / 0.8504 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008173/1.545, allocations: 2.306 MB / 0.8526 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008554/1.554, allocations: 2.402 MB / 0.855 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/1.576, allocations: 12.5 MB / 0.8672 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009213/1.585, allocations: 0.5776 MB / 0.8677 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002319/1.588, allocations: 0.5975 MB / 0.8683 GB, free: 7.262 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1276): * Single equations (assignments): 1269 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008741/1.596, allocations: 3.765 MB / 0.872 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/1.598, allocations: 0.6286 MB / 0.8726 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01904/1.617, allocations: 8.142 MB / 0.8806 GB, free: 10.65 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.594e-05/1.617, allocations: 55.98 kB / 0.8806 GB, free: 10.59 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/1.617, allocations: 12 kB / 0.8806 GB, free: 10.58 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.45e-05/1.617, allocations: 19.88 kB / 0.8806 GB, free: 10.56 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3307/1.948, allocations: 18.52 MB / 0.8987 GB, free: 214.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/1.948, allocations: 11.75 kB / 0.8987 GB, free: 214.4 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002996/1.951, allocations: 0.6179 MB / 0.8993 GB, free: 214.4 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006588/1.957, allocations: 1.745 MB / 0.901 GB, free: 214.1 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005654/1.958, allocations: 85.25 kB / 0.9011 GB, free: 214 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/1.973, allocations: 10.58 MB / 0.9115 GB, free: 209 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/1.973, allocations: 27.33 kB / 0.9115 GB, free: 209 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/1.993, allocations: 12.16 MB / 0.9233 GB, free: 204.2 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002864/1.996, allocations: 1.167 MB / 0.9245 GB, free: 203.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009213/1.997, allocations: 80.06 kB / 0.9246 GB, free: 203.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/2, allocations: 207.1 kB / 0.9248 GB, free: 203.8 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006919/2, allocations: 254.6 kB / 0.925 GB, free: 203.7 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/2.001, allocations: 110.5 kB / 0.9251 GB, free: 203.7 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.006082/2.007, allocations: 4.077 MB / 0.9291 GB, free: 202.4 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.3e-07/2.007, allocations: 5.344 kB / 0.9291 GB, free: 202.4 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01049/2.017, allocations: 1.908 MB / 0.931 GB, free: 202.1 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 2 (j2.s,j2.v) * 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 (325): * Single equations (assignments): 318 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 Backend phase and start with SimCode phase: time 0.01952/2.037, allocations: 12.95 MB / 0.9436 GB, free: 191 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01693/2.054, allocations: 9.408 MB / 0.9528 GB, free: 182.6 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-05/2.054, allocations: 4 kB / 0.9528 GB, free: 182.6 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.00502/2.059, allocations: 3.044 MB / 0.9558 GB, free: 179.6 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/2.064, allocations: 0.8084 MB / 0.9566 GB, free: 178.8 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1288/2.193, allocations: 87.99 MB / 1.042 GB, free: 81.08 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006913/2.2, allocations: 5.601 MB / 1.048 GB, free: 75.45 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.007298/2.207, allocations: 3.308 MB / 1.051 GB, free: 72.13 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005403/2.213, allocations: 3.69 MB / 1.055 GB, free: 68.44 MB / 0.6232 GB Notification: Performance of SimCode: time 1.463e-06/2.213, allocations: 0 / 1.055 GB, free: 68.44 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4842/2.697, allocations: 129.6 MB / 1.181 GB, free: 195.1 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.33/39.02, allocations: 6.172 kB / 1.181 GB, free: 195.1 MB / 0.6388 GB " [Timeout remaining time 621] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 42.23201534598775] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 39.191508596995845 39.208603691 38.754504268 Calling exit ...